Added !poker and auth entry point
This commit is contained in:
@@ -91,6 +91,12 @@ func HandleMessage(client *twitch.Client, apiClient interface{}, message twitch.
|
||||
return
|
||||
}
|
||||
|
||||
// dispatch poker/table commands
|
||||
if strings.HasPrefix(strings.ToLower(msg), "!poker") || strings.HasPrefix(strings.ToLower(msg), "!table") {
|
||||
HandlePokerCommand(client, message, user, channel, msg)
|
||||
return
|
||||
}
|
||||
|
||||
// Dispatch custom/default commands
|
||||
HandleCustomCommands(client, message, user, channel, botUsername)
|
||||
}
|
||||
|
Reference in New Issue
Block a user