From dda78aa2b6516f5c01192e9a734a4a17aa0efb25 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 23 Feb 2022 12:31:36 -0500 Subject: [PATCH] test --- sopel_SpiceBot_Core_1/SBCore/commands/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)