From 93de4325fd7a7973471ae14bb3c87a19e0b42efa Mon Sep 17 00:00:00 2001 From: shoopea Date: Mon, 8 Nov 2021 22:54:32 +0800 Subject: [PATCH] update --- bot.go | 4 ---- version.go | 8 ++++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/bot.go b/bot.go index 3bc0ce3..6dacf16 100644 --- a/bot.go +++ b/bot.go @@ -82,13 +82,11 @@ func botPause(m *tb.Message) { } else { bot.SendChat(bot.Config.ChatID, "Game already paused.") } - botPlayers(m) return } } } } - botPlayers(m) bot.SendChat(bot.Config.ChatID, "You are not playing and cannot pause the game.") return } @@ -105,13 +103,11 @@ func botUnpause(m *tb.Message) { } else { bot.SendChat(bot.Config.ChatID, fmt.Sprintf("Cannot unpause : %s", srv.NeedPauseReason())) } - botPlayers(m) return } } } } - botPlayers(m) bot.SendChat(bot.Config.ChatID, "You are not playing and cannot unpause the game.") return } diff --git a/version.go b/version.go index 3aeeca7..8b8988c 100644 --- a/version.go +++ b/version.go @@ -1,6 +1,6 @@ // Code generated by version.sh (@generated) DO NOT EDIT. package main -var githash = "a050893" -var buildstamp = "2021-11-08_14:48:10" -var commits = "173" -var version = "a050893-b173 - 2021-11-08_14:48:10" +var githash = "38a1d8a" +var buildstamp = "2021-11-08_14:54:17" +var commits = "174" +var version = "38a1d8a-b174 - 2021-11-08_14:54:17"