Skip to content
Snippets Groups Projects
Commit 7206851a authored by Helge Jung's avatar Helge Jung
Browse files

identify uses lower-case name

parent 8c9f2e4b
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,8 @@ def ffpb_identify(bot, trigger):
# the check function already gives a bot reply, just exit here
return
ident = trigger.group(2)
ident = trigger.group(2) or ""
ident = ident.lower()
result = __batcave.identify(ident)
if result is None:
bot.say('Mist, ich erreiche den Detektiv nicht.')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment