Georg Pfuetzenreuter
b7f2ad6dcd
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>
27 lines
741 B
YAML
27 lines
741 B
YAML
watbot:
|
|
server:
|
|
host: irc.casa # mandatory, no default
|
|
port: 6697
|
|
tls_verify: true
|
|
name: watest
|
|
nick: watest # nick is name by default
|
|
user: watest # user is nick by default
|
|
bots: # optional, no default
|
|
games: # mapping of bot names to games
|
|
katyusha:
|
|
- jeopardy # currently jeopardy is the only integrated game
|
|
hosts: # hostmasks considered as valid bots
|
|
- bot.example.com
|
|
admins: # optional, no default
|
|
hosts:
|
|
- admin.example.com
|
|
ignores: # optional, no default
|
|
hosts:
|
|
- annoying.example.com
|
|
channels: # optional, no default
|
|
join:
|
|
- crantest # channels without a prefix character will be prefixed with "#"
|
|
permitted:
|
|
- '#lucy'
|
|
|