This commit is contained in:
Aine
2022-09-07 20:24:49 +03:00
parent 47767e2ab2
commit 715ec1ef2a
2 changed files with 9 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ func (b *Bot) handle(ctx context.Context) {
return
}
message := strings.TrimSpace(content.Body)
cmd := b.parseCommand(message)
cmd := b.parseCommand(message, true)
if cmd == nil {
return
}