summaryrefslogtreecommitdiffstats
path: root/main.go
Commit message (Collapse)AuthorAgeFilesLines
* Implement Jeopardy cashoutGeorg Pfuetzenreuter2024-09-291-0/+6
| | | | | | | | | | | | | | | | | This adds integration between Watbot and the Limnoria Jeopardy plugin. If a game of Jeopardy ends, Watbot will parse the finishers message and pay a small share of the Jeopardy price money in the form of Watcoins. To avoid abuse, only Jeopardy finishing messages from authorized bots are considered. An IRC user is considered an authorized bot if the hostmask matches one of the configured bot hostmasks, and if the nickname is configured for "jeopardy" in the newly introduced bot games configuration. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net> Add sample message to Jeopardy logic Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
* Implement automatic channel joiningGeorg Pfuetzenreuter2024-09-281-0/+2
| | | | | | | | 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>
* Implement configuration fileGeorg Pfuetzenreuter2024-09-281-22/+93
| | | | | | | | 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>
* initial commitmogad0n2021-03-101-6/+4
|
* fixes #7alex2019-06-281-1/+1
|
* moved config around somewhatalex2019-01-041-2/+13
|
* misc improvementsalex2018-10-251-1/+3
| | | | | | | 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
* Reimplemented python bot in golang, skipped a few featuresalex2018-10-211-8/+15
|
* Added flag lib for parsing env + flag + filealex2018-10-201-6/+10
|
* sorry for rehosting ur stuff (。◕ ‿ ◕。)alex2018-10-201-0/+18
Added original source Fixed readme typo (I fat fingered your username again whoops) Fiddling with golang config