fix /start
This commit is contained in:
parent
564e0786b9
commit
74b535fb40
1
bot.go
1
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)
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user