From 344846674b446c3a68d139be1ea5b4b97e944f09 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Tue, 22 Feb 2022 14:05:19 -0500 Subject: [PATCH] test --- sopel_SpiceBot_Core_1/SBCore/commands/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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,