diff options
author | Pratyush Desai | 2024-10-02 20:07:10 +0200 |
---|---|---|
committer | Pratyush Desai | 2024-10-02 20:07:10 +0200 |
commit | a5cc5e031754db83816e59849de6cb75ff92f9ae (patch) | |
tree | b04127246cf8950a881904771bb2249aebb385c4 /main.go | |
parent | a475bc2f428c6fb6905f3f2896b5477a6e361f32 (diff) | |
parent | 89ed59a9c71e4b21e462a5c7746a8decc41dc487 (diff) | |
download | watbot-a5cc5e031754db83816e59849de6cb75ff92f9ae.tar.gz watbot-a5cc5e031754db83816e59849de6cb75ff92f9ae.tar.bz2 watbot-a5cc5e031754db83816e59849de6cb75ff92f9ae.zip |
Merge pull request 'Implement Jeopardy cashout' (#18) from jeopardy into master
Reviewed-on: https://git.com.de/LibertaCasa/watbot/pulls/18
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -24,6 +24,10 @@ type watConfig struct { Pass string `yaml:"pass"` User string `yaml:"user"` Name string `yaml:"name"` + Bots struct { + Hosts []string `yaml:"hosts"` + Games wat.BotGameConfig `yaml:"games"` + } `yaml:"bots"` Admins struct { Hosts []string `yaml:"hosts"` } `yaml:"admins"` @@ -99,6 +103,8 @@ func main() { PermittedChannels: config.Channels.Permitted, IgnoredHosts: config.Ignores.Hosts, AdminHosts: config.Admins.Hosts, + BotHosts: config.Bots.Hosts, + BotGames: config.Bots.Games, } tcpConf := &tls.Config{ InsecureSkipVerify: !config.Server.TlsVerify, |