From cd5018af77f8444d88c3eed140dc3b010601bd07 Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Wed, 11 Aug 2021 12:40:15 -0400 Subject: [PATCH] quotegame: tell us who it was when we lost --- plugins/quotegame/quotegame.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/quotegame/quotegame.go b/plugins/quotegame/quotegame.go index 035c418..79ee980 100644 --- a/plugins/quotegame/quotegame.go +++ b/plugins/quotegame/quotegame.go @@ -101,7 +101,8 @@ func (p *QuoteGame) startGame(r bot.Request) bool { p.currentGame = time.AfterFunc(length*time.Second, func() { p.currentGame = nil p.currentName = "" - p.b.Send(r.Conn, bot.Message, r.Msg.Channel, "Game ended.") + p.b.Send(r.Conn, bot.Message, r.Msg.Channel, + fmt.Sprintf("The quote game ended and nobody won. The answer was %s", who)) }) p.currentName = who