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.") }