diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index 4ed71ec..941e0ac 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -31,8 +31,9 @@ def prerun(rulematch=False): for trigger_dict in commands: sb.commands.dispatch(trigger_dict) return - - print(trigger.args[1].split("&&")[0]) + elif trigger.args[1].split("&&")[0] != commands[0]["trigger_command"]: + print(trigger.args[1].split("&&")[0]) + print(commands[0]["trigger_command"]) # This is where we rebuild trigger # we validate a few things here