|
@@ -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.')
|