From 418e85da009de90b5655b3371026525545af9cdb Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Thu, 24 Feb 2022 11:27:14 -0500 Subject: [PATCH] test --- sopel_SpiceBot_Core_Prerun/__init__.py | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index c41aaa8..69e4831 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -18,7 +18,6 @@ def prerun(): # This will give sopel the appearance of recieving individual commands if comrun.is_multi_command: if not comrun.is_rulematch: - bot.say("not a rule match") sb.commands.dispatch(comrun.command) elif comrun.is_rulematch: bot.say("is a rule match") @@ -139,18 +138,18 @@ 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 + # 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 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 + # elif pipe_split_count != "N/A": + # if pipe_split_count != len(self.commands): + # return True return False