Merge pull request #109 from SpiceBot/development

Development
This commit is contained in:
Deathbybandaid 2019-09-17 13:12:45 -04:00 committed by GitHub
commit 103b369b38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,7 +115,12 @@ def bot_command_rule_ai(bot, trigger):
elif command_type == 'nickname':
if trigger_args[0].lower() in ["what", "where"] and trigger_args[1].lower() in ["is", "are"]:
# ignore spelling correction
if trigger_args[0].lower().startswith("s/"):
bot.osd("I meant what I said!")
return
elif trigger_args[0].lower() in ["what", "where"] and trigger_args[1].lower() in ["is", "are"]:
# TODO saved definitions
searchterm = spicemanip(trigger_args, "3+") or None
if searchterm: