Add bot defeat tracking, audit fixes, and README UNO section

Add !twinbeeboard command (GogoBee's trophy wall) with unified
bot_defeats table tracking losses across Blackjack, UNO solo, and
UNO multiplayer. Fix No Mercy audit bugs: wild card color choice
routing, bot Color Roulette double-advance, missing DM notifications
for roulette victims and 7-0 swap targets, autoplay Color Roulette
effect. Remove dead code. Update README with full UNO documentation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
prosolis
2026-03-21 20:47:46 -07:00
parent 9446038646
commit e9890fd880
6 changed files with 174 additions and 7 deletions

View File

@@ -1779,6 +1779,7 @@ func (p *UnoPlugin) botWins(game *unoGame) error {
"💀 "+unoBotName()+" wins. **%s**'s €%d has been added to the community pot.\n(Community pot: €%d)\n\n%s",
playerName, int(game.wager), int(newPot), pickCommentary("bot_win")))
recordBotDefeat(game.playerID, "uno")
p.recordGame(game, "gogobee_win", potBefore)
p.cleanupGame(game)
return nil
@@ -1809,6 +1810,7 @@ func (p *UnoPlugin) forfeitGame(game *unoGame, timeout bool) error {
fmt.Sprintf("🚪 **%s** has quit. €%d added to the pot. 💛", playerName, int(game.wager)))
}
recordBotDefeat(game.playerID, "uno")
p.recordGame(game, "gogobee_win", potBefore)
p.cleanupGame(game)
return nil