Added !poker and auth entry point

This commit is contained in:
bryce
2025-07-15 20:24:16 +12:00
parent 049051a7e1
commit b0be1f99c8
6 changed files with 271 additions and 5 deletions

View File

@@ -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)
}