diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index e9530ac..0700d2e 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -47,8 +47,9 @@ def get_commands(bot, trigger): trigger_prefix = str(trigger_item.split(" ")[0]) trigger_str = str(trigger_item.split(" ")[1:]) else: - trigger_type = "action_command" - trigger_prefix = "ACTION" + # Assume same command type until proven otherwise + trigger_type = first_trigger_type + trigger_prefix = first_trigger_prefix trigger_str = trigger_item commands.append({