This commit is contained in:
deathbybandaid 2022-02-24 11:50:19 -05:00
parent 4846c8f1d8
commit c2bc6273b3

View File

@ -43,6 +43,8 @@ def prerun():
if comrun.is_rulematch and comrun.is_real_command: if comrun.is_rulematch and comrun.is_real_command:
return return
print(comrun.commands)
# Run function # Run function
function(bot, trigger, comrun, *args, **kwargs) function(bot, trigger, comrun, *args, **kwargs)
@ -139,18 +141,8 @@ class ComRun():
def has_command_been_sanitized(self): def has_command_been_sanitized(self):
trigger_command = sb.commands.get_command_from_trigger(self.trigger) 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"]: if trigger_command != self.command["trigger_command"]:
return True 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 return False