summaryrefslogtreecommitdiffstats
path: root/wat/integration.go
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2024-09-22 17:42:49 +0200
committerGeorg Pfuetzenreuter2024-09-29 14:36:23 +0200
commit97e9d7d0c2312385bfd8dcbb85a1bc4bd7d263cc (patch)
tree237798125e611da5492f6ff3dc615e958f3cdc67 /wat/integration.go
parenta475bc2f428c6fb6905f3f2896b5477a6e361f32 (diff)
downloadwatbot-97e9d7d0c2312385bfd8dcbb85a1bc4bd7d263cc.tar.gz
watbot-97e9d7d0c2312385bfd8dcbb85a1bc4bd7d263cc.tar.bz2
watbot-97e9d7d0c2312385bfd8dcbb85a1bc4bd7d263cc.zip
Implement Jeopardy cashout
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>
Diffstat (limited to 'wat/integration.go')
0 files changed, 0 insertions, 0 deletions