diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index 382a29e..20c1d61 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -59,6 +59,7 @@ def get_commands(bot, trigger): trigger_str = " ".join(trigger_str.split(" ")[1:]) trigger_command = trigger_str.split(" ")[0] else: + trigger_command = trigger_str.split(" ")[0] command_types = ["command", "nickname_command", "action_command"] # TODO Assume same command type until proven otherwise assumed_trigger_type = first_trigger_type