From 74b535fb40737222e18fab0b89c1d49e7d0ec708 Mon Sep 17 00:00:00 2001 From: shoopea Date: Wed, 29 Dec 2021 09:21:24 +0800 Subject: [PATCH] fix /start --- bot.go | 1 + version.go | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/bot.go b/bot.go index e918966..12ed877 100644 --- a/bot.go +++ b/bot.go @@ -414,6 +414,7 @@ func botStart(m *tb.Message) { } if m.Sender.ID != int(cfg.Telegram.AdminID) && !actuallyReady { bot.SendChat(m.Chat.ID, "Not all players are ready. Only the admin can force the start.") + return } b := make([]byte, 8) diff --git a/version.go b/version.go index a8a9f70..120262a 100644 --- a/version.go +++ b/version.go @@ -1,6 +1,6 @@ // Code generated by version.sh (@generated) DO NOT EDIT. package main -var githash = "86f2914" -var buildstamp = "2021-12-28_15:02:08" -var commits = "258" -var version = "86f2914-b258 - 2021-12-28_15:02:08" +var githash = "564e078" +var buildstamp = "2021-12-29_01:21:09" +var commits = "259" +var version = "564e078-b259 - 2021-12-29_01:21:09"