summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement automatic channel joiningGeorg Pfuetzenreuter2024-09-283-1/+18
| | | | | | | | Avoid the need for an administrator to join the bot to channels by implementing a configuration option allowing the passing of channels the bot should always join to by itself upon startup. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
* 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-285-28/+141
| | | | | | | | 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>
* Merge pull request 'Remove count script' (#16) from count into masterPratyush Desai2024-09-241-2/+0
|\ | | | | | | Reviewed-on: https://git.com.de/LibertaCasa/watbot/pulls/16
| * Remove count scriptGeorg Pfuetzenreuter2024-09-241-2/+0
|/ | | | | | Unable to find a purpose. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
* Merge pull request 'Remove and ignore binary' (#15) from gitignore into masterPratyush Desai2024-09-242-0/+3
|\ | | | | | | Reviewed-on: https://git.com.de/LibertaCasa/watbot/pulls/15
| * Remove and ignore binaryGeorg Pfuetzenreuter2024-09-212-0/+3
|/ | | | | | Build artifacts shouldn't be tracked in version control. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
* Merge pull request 'Add myself as admin' (#12) from admin into masterPratyush Desai2024-09-211-1/+7
|\ | | | | | | Reviewed-on: https://git.com.de/LibertaCasa/watbot/pulls/12
| * 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>
* Merge pull request 'Basic systemd service' (#4) from systemd into masterPratyush Desai2022-03-011-0/+14
|\ | | | | | | Reviewed-on: https://git.com.de/LibertaCasa/watbot/pulls/4
| * Init systemd servicesystemdGeorg Pfuetzenreuter2022-02-021-0/+14
|/ | | | Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
* initial commitmogad0n2021-03-107-18/+42
|
* 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-284-32/+66
|
* moved config around somewhatalex2019-01-042-12/+38
|
* 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-253-29/+43
| | | | | | | 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-212-14/+24
| | | | remove db
* Reimplemented python bot in golang, skipped a few featuresalex2018-10-216-9/+500
|
* Added flag lib for parsing env + flag + filealex2018-10-201-6/+10
|
* sorry for rehosting ur stuff (。◕ ‿ ◕。)alex2018-10-2010-1/+799
| | | | | | Added original source Fixed readme typo (I fat fingered your username again whoops) Fiddling with golang config
* Initial commitself2018-10-193-0/+24