From 9852ec56ffbc32f2151090786a613d7df4c44ced Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 19 Jul 2020 16:58:27 +0200 Subject: [PATCH] fix --- bot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{