From 59041d6a9c16409b33224a71c7d75464cb99f543 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Thu, 24 Feb 2022 11:01:56 -0500 Subject: [PATCH] test --- sopel_SpiceBot_Core_Prerun/__init__.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index 8306248..7dc467a 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -16,12 +16,10 @@ def prerun(): # Since there was more than one command, # we are going to redispatch commands # This will give sopel the appearance of recieving individual commands - print(comrun.commands) if comrun.is_multi_command: - if len(comrun.commands) > 1: - for trigger_dict in comrun.commands: - sb.commands.dispatch(trigger_dict) - return + for trigger_dict in comrun.commands: + sb.commands.dispatch(trigger_dict) + return # If the original trigger is not the same after splits # so we will now redispatch to help get the correct function passed