Compare commits
2 Commits
89ed59a9c7
...
ab92441200
Author | SHA1 | Date | |
---|---|---|---|
ab92441200 | |||
82534a9030 |
@ -40,6 +40,7 @@ func (w *WatIntegration) Bot(m *irc.Message) (bool, []string) {
|
||||
}
|
||||
|
||||
func (w *WatIntegration) HandleIntegration(m *irc.Message, msgargs []string) bool {
|
||||
|
||||
isBot, games := w.Bot(m)
|
||||
if isBot {
|
||||
// handles a message "Top finishers: (nick1: 1300) (nick2: 1200)" from an authorized Jeopardy game bot
|
||||
@ -48,6 +49,7 @@ func (w *WatIntegration) HandleIntegration(m *irc.Message, msgargs []string) boo
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
// not an authorized bot or no integration matched the given message
|
||||
return false
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user