fix
This commit is contained in:
parent
8614823e7c
commit
9852ec56ff
2
bot.go
2
bot.go
@ -1592,7 +1592,7 @@ func botTimer(m *tb.Message) {
|
||||
|
||||
}
|
||||
|
||||
r = regexp.MustCompile("^(?P<User>([0-9]+)(?P<Duration>([0-9]*(s|m|h))+) \"(?P<Msg>(.*))\"$")
|
||||
r = regexp.MustCompile("^(?P<User>([0-9]+)) (?P<Duration>([0-9]*(s|m|h))+) \"(?P<Msg>(.*))\"$")
|
||||
if r.MatchString(m.Payload) {
|
||||
if clt.TGUserID64 != cfg.Bot.Admin {
|
||||
c := TGCommand{
|
||||
|
Loading…
Reference in New Issue
Block a user