From bd7649aaba647df8e8855554457f9ec82cc4f7b8 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 23 Feb 2022 13:43:24 -0500 Subject: [PATCH] test --- sopel_SpiceBot_Core_Prerun/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index 941e0ac..78626bc 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -31,7 +31,7 @@ def prerun(rulematch=False): for trigger_dict in commands: sb.commands.dispatch(trigger_dict) return - elif trigger.args[1].split("&&")[0] != commands[0]["trigger_command"]: + elif trigger.args[1][1:].split("&&")[0] != commands[0]["trigger_command"]: print(trigger.args[1].split("&&")[0]) print(commands[0]["trigger_command"])