From 4ddc2662b2ee7b0e88be817a4da34b8c34abb4eb Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 23 Feb 2022 14:51:58 -0500 Subject: [PATCH] test --- sopel_SpiceBot_Core_Prerun/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index d5cf6f2..22bebb7 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -16,7 +16,6 @@ def prerun(rulematch=False): # Get list of trigger command(s) by && split commands = sb.commands.get_commands_split(trigger, "&&") - bot.say(str(commands)) comrun = ComRun(rulematch, trigger) @@ -40,7 +39,7 @@ def prerun(rulematch=False): # Validate | split trigger_command = sb.commands.get_command_from_trigger(trigger) - if trigger_command != commands[0]["trigger_command"] and "|" in trigger.args[1]: + if trigger_command != commands[0]["trigger_command"]: trigger_dict = rebuild_pipes(commands) sb.commands.dispatch(trigger_dict) return