From 22170d5bdf279e5905f52d06475ac5435d81769d Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Tue, 17 Sep 2019 13:08:16 -0400 Subject: [PATCH] fun update --- sopel_modules/SpiceBot_Core_Commands/AI.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sopel_modules/SpiceBot_Core_Commands/AI.py b/sopel_modules/SpiceBot_Core_Commands/AI.py index a3a14f3..c3929ef 100644 --- a/sopel_modules/SpiceBot_Core_Commands/AI.py +++ b/sopel_modules/SpiceBot_Core_Commands/AI.py @@ -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: