diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index 5f3f4a4..983d08b 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -46,7 +46,7 @@ def get_commands(bot, trigger): trigger_type = "nickname_command" trigger_prefix = str(trigger_item.split(" ")[0]) trigger_str = str(trigger_item.split(" ")[1:]) - elif trigger_str.startswith(tuple(["ACTION", "/me"])): + elif trigger_item.startswith(tuple(["ACTION", "/me"])): first_trigger_type = "action_command" first_trigger_prefix = "ACTION" trigger_str = trigger_item