typo
This commit is contained in:
2
bot.go
2
bot.go
@@ -671,7 +671,7 @@ func botSaveGame(m *tb.Message) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
r := regexp.MustCompile("^\\/savge (?P<Number>[0-9]+)")
|
r := regexp.MustCompile("^\\/save_game (?P<Number>[0-9]+)")
|
||||||
|
|
||||||
if !r.MatchString(m.Text) {
|
if !r.MatchString(m.Text) {
|
||||||
bot.SendChat(m.Chat.ID, "Wrong usage.")
|
bot.SendChat(m.Chat.ID, "Wrong usage.")
|
||||||
|
|||||||
Reference in New Issue
Block a user