diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index 9177687..c3364ff 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -29,7 +29,7 @@ def prerun(rulematch=False): # so we will now redispatch to help get the correct function passed trigger_command = sb.commands.get_command_from_trigger(trigger) if trigger_command != commands[0]["trigger_command"]: - bot.say("command changes - dispatching %s %s" % (trigger_dict["trigger_command"], trigger_dict["trigger_str"])) + bot.say("command changes - dispatching %s %s" % (commands[0]["trigger_command"], commands[0]["trigger_str"])) sb.commands.dispatch(commands[0]) return