Fix the bot sending "incorrect command" messages

... when the command itself is correct
This commit is contained in:
Joscha 2019-05-15 06:57:12 +00:00
parent 7d7c5a0c5f
commit 35c921c690

1
wtf.py
View file

@ -111,6 +111,7 @@ class Wtf(yaboli.Module):
if match_is:
terms = match_is.group(1)
await self.send_explanations(message, terms)
return
match_add = self.RE_ADD.fullmatch(args.raw)
if match_add: