mirror of
https://github.com/prosolis/gogobee.git
synced 2026-07-15 16:42:41 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user