diff --git a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py index 6e89b74..f40b591 100644 --- a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py +++ b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py @@ -134,8 +134,9 @@ class Commands(): else: first_trigger_type = "rule" first_trigger_prefix = None - first_trigger_command = first_full_trigger_str.split(" ")[0] - first_trigger_str = " ".join(first_full_trigger_str.split(" ")[1:]) + first_trigger_noprefix = first_full_trigger_str + first_trigger_command = first_trigger_noprefix.split(" ")[0] + first_trigger_str = " ".join(first_trigger_noprefix.split(" ")[1:]) commands.append({ "trigger_type": first_trigger_type,