From c2bc6273b3a3f5dd8a5de43f611228f2f23049a4 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Thu, 24 Feb 2022 11:50:19 -0500 Subject: [PATCH] test --- sopel_SpiceBot_Core_Prerun/__init__.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index 3a2047e..16775a2 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -43,6 +43,8 @@ def prerun(): if comrun.is_rulematch and comrun.is_real_command: return + print(comrun.commands) + # Run function function(bot, trigger, comrun, *args, **kwargs) @@ -139,18 +141,8 @@ class ComRun(): def has_command_been_sanitized(self): trigger_command = sb.commands.get_command_from_trigger(self.trigger) - # multi_split_count = self.multi_split_count - # pipe_split_count = self.pipe_split_count if trigger_command != self.command["trigger_command"]: return True - # elif multi_split_count != "N/A": - # if multi_split_count != len(self.commands): - # return True - - # elif pipe_split_count != "N/A": - # if pipe_split_count != len(self.commands): - # return True - return False