diff --git a/sopel_modules/SpiceBot_AI/AI_aiml.py b/sopel_modules/SpiceBot_AI/AI_aiml.py index 0c9cfe0..cd48826 100644 --- a/sopel_modules/SpiceBot_AI/AI_aiml.py +++ b/sopel_modules/SpiceBot_AI/AI_aiml.py @@ -65,7 +65,7 @@ def bot_command_rule(bot, trigger): else: if command_type == 'nickname': - if fulltrigger.lower().startswith(tuple(["what is", "where is"])): + if trigger_args[0].lower() in ["what", "where"] and trigger_args[0].lower() in ["is", "are"]: searchterm = spicemanip.main(trigger_args, "3+") or None if searchterm: if trigger_args[0].lower() == "where":