diff --git a/bot.go b/bot.go index 355e41f..638cfe3 100644 --- a/bot.go +++ b/bot.go @@ -1592,7 +1592,7 @@ func botTimer(m *tb.Message) { } - r = regexp.MustCompile("^(?P([0-9]+)(?P([0-9]*(s|m|h))+) \"(?P(.*))\"$") + r = regexp.MustCompile("^(?P([0-9]+)) (?P([0-9]*(s|m|h))+) \"(?P(.*))\"$") if r.MatchString(m.Payload) { if clt.TGUserID64 != cfg.Bot.Admin { c := TGCommand{