This commit is contained in:
shoopea
2025-12-14 13:40:11 +01:00
parent 8554b4ea2a
commit c210acb1ac

2
bot.go
View File

@@ -671,7 +671,7 @@ func botSaveGame(m *tb.Message) {
return
}
r := regexp.MustCompile("^\\/savge (?P<Number>[0-9]+)")
r := regexp.MustCompile("^\\/save_game (?P<Number>[0-9]+)")
if !r.MatchString(m.Text) {
bot.SendChat(m.Chat.ID, "Wrong usage.")