fix /start

This commit is contained in:
shoopea
2021-12-29 09:21:24 +08:00
parent 564e0786b9
commit 74b535fb40
2 changed files with 5 additions and 4 deletions

1
bot.go
View File

@@ -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)