diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index 0700d2e..829432b 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -46,6 +46,10 @@ 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_item.startswith(tuple(["ACTION", "/me"])): + first_trigger_type = "action_command" + first_trigger_prefix = "ACTION" + trigger_str = trigger_item else: # Assume same command type until proven otherwise trigger_type = first_trigger_type