From f88215c36a29f2ceddc758459104b316e34d6105 Mon Sep 17 00:00:00 2001 From: shoopea Date: Mon, 22 Jun 2020 11:15:43 +0200 Subject: [PATCH] test --- bot.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bot.go b/bot.go index 3974883..2e64aa2 100644 --- a/bot.go +++ b/bot.go @@ -48,6 +48,8 @@ func botUnpause(m *tb.Message) { _, err := conn.Write(px.Bytes()) logErrorDebug(err, "botUnpause : conn.Write") sendChat(-436055948, "Game unpaused.") + } else if len(clients) == 1 { + sendChat(-436055948, "No players, cannot unpause.") } else { sendChat(-436055948, "Game already unpaused.") }