summaryrefslogtreecommitdiffstats
path: root/wat
Commit message (Collapse)AuthorAgeFilesLines
* Replace redundant logic in Admin()Georg Pfuetzenreuter2024-09-281-7/+1
| | | | | | | The Allowed() function already implements this loop, use it to reduce redundant code. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
* Implement configuration fileGeorg Pfuetzenreuter2024-09-281-2/+3
| | | | | | | | Abstract settings which commonly differ between instances to a YAML based configuration file to allow for easy administration without the need for modifying the source code. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
* Add myself as adminGeorg Pfuetzenreuter2024-09-211-1/+7
| | | | | | | For some administrative operations, such as joining channels, it would be useful if I could "imp"ersonate the bot. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
* initial commitmogad0n2021-03-103-12/+12
|
* fixes #8alex2019-09-221-1/+8
|
* fixes #9alex2019-09-221-1/+1
|
* fixes #5alex2019-07-102-0/+16
|
* fixes #6alex2019-06-281-2/+2
|
* fixes #7alex2019-06-282-31/+63
|
* moved config around somewhatalex2019-01-041-10/+25
|
* Added time limited bankrupcy, steroids for benching (don't persist across ↵alex2019-01-042-14/+84
| | | | restarts), removed aliases from command list, ping, strongest, don't allow vlk to roll.
* int64 -> uint64 for coins, disable noisy logging, turned off wattery (it was ↵alex2018-12-033-20/+15
| | | | quickly abused), made anarchy less likely to win and time limited
* CanAct func, used in Riot and Liftalex2018-11-162-2/+15
|
* added actions table, makes it easier to add time based commandsalex2018-11-152-42/+74
| | | | | | | | reactivated bench with a 2400 limit help command just outputs command structs because that's easier lower all commands to account for caps mistakes some hardcoded nick bits :\ removed disused db structs
* changed coins to uint64 and started using uints all over the placealex2018-11-143-35/+54
| | | | | added toplost removed an ignore
* formatting changes from goimportalex2018-11-083-103/+186
| | | | | | | | | added a link to source, healing parse ints through one function and return helpful errors that can be used as return values added more error checking improved some output made some more joke methods lazily added more if conditions for people i'm sick of
* nmalex2018-10-271-3/+5
|
* fixed rand to use crypto randalex2018-10-263-30/+52
| | | | | fixed imp with imps but should go back to privmsg detection give the bot money when people lose lel
* misc improvementsalex2018-10-252-28/+40
| | | | | | | added self reference, allowing the bot to accrue currency messed about with some messages (removed swears, changed 'schlorped', etc) improved send output regular wattery to make 'wat' interesting
* added resting, messed about with stuffalex2018-10-232-20/+104
|
* fixed some bugs, fixed some debug behaviour, changed over to a command -> ↵alex2018-10-233-56/+101
| | | | method map to avoid sending spurious messages
* added admin command for impersonating any irc commandalex2018-10-211-14/+23
| | | | remove db
* Reimplemented python bot in golang, skipped a few featuresalex2018-10-213-0/+482