This commit is contained in:
deathbybandaid 2022-02-23 14:51:58 -05:00
parent 444f7f3f20
commit 4ddc2662b2

View File

@ -16,7 +16,6 @@ def prerun(rulematch=False):
# Get list of trigger command(s) by && split # Get list of trigger command(s) by && split
commands = sb.commands.get_commands_split(trigger, "&&") commands = sb.commands.get_commands_split(trigger, "&&")
bot.say(str(commands))
comrun = ComRun(rulematch, trigger) comrun = ComRun(rulematch, trigger)
@ -40,7 +39,7 @@ def prerun(rulematch=False):
# Validate | split # Validate | split
trigger_command = sb.commands.get_command_from_trigger(trigger) trigger_command = sb.commands.get_command_from_trigger(trigger)
if trigger_command != commands[0]["trigger_command"] and "|" in trigger.args[1]: if trigger_command != commands[0]["trigger_command"]:
trigger_dict = rebuild_pipes(commands) trigger_dict = rebuild_pipes(commands)
sb.commands.dispatch(trigger_dict) sb.commands.dispatch(trigger_dict)
return return