From 2ae11c454b99e8b7785198c0a4a65b7c49d23bc8 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Thu, 24 Feb 2022 07:13:23 -0500 Subject: [PATCH] test --- sopel_SpiceBot_Core_Prerun/__init__.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index 4593051..5fbcda8 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -19,6 +19,7 @@ def prerun(rulematch=False): # Since there was more than one command, # we are going to redispatch commands # This will give sopel the appearance of recieving individual commands + bot.say(str(commands)) if len(commands) > 1: for trigger_dict in commands: sb.commands.dispatch(trigger_dict) @@ -29,8 +30,6 @@ def prerun(rulematch=False): trigger_command = sb.commands.get_command_from_trigger(trigger) if trigger_command != commands[0]["trigger_command"]: sb.commands.dispatch(commands[0]) - print(commands[0]["trigger_command"]) - print(trigger_command) return # Get list of trigger command(s) by | split @@ -39,8 +38,6 @@ def prerun(rulematch=False): # Validate | split trigger_command = sb.commands.get_command_from_trigger(trigger) if trigger_command != commands[0]["trigger_command"]: - print(commands[0]["trigger_command"]) - print(trigger_command) trigger_dict = rebuild_pipes(commands) sb.commands.dispatch(trigger_dict) return