diff --git a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py index 3d37f5d..5e7d2d9 100644 --- a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py +++ b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py @@ -146,8 +146,8 @@ class Commands(): commands.append({ "trigger_type": first_trigger_type, "trigger_prefix": first_trigger_prefix, - "trigger_str": first_trigger_str.remove("&&"), - "trigger_command": first_trigger_command.remove("&&"), + "trigger_str": first_trigger_str.replace(splitkey, ""), + "trigger_command": first_trigger_command.replace(splitkey, ""), "trigger_hostmask": trigger.hostmask, "trigger_sender": trigger.sender, "trigger_time": str(trigger.time) @@ -216,8 +216,8 @@ class Commands(): commands.append({ "trigger_type": trigger_type, "trigger_prefix": trigger_prefix, - "trigger_str": trigger_str.remove("&&"), - "trigger_command": trigger_command.remove("&&"), + "trigger_str": trigger_str.replace(splitkey, ""), + "trigger_command": trigger_command.replace(splitkey, ""), "trigger_hostmask": trigger.hostmask, "trigger_sender": trigger.sender, "trigger_time": str(trigger.time)