test
This commit is contained in:
parent
aa46faac7e
commit
4046df9602
@ -30,7 +30,7 @@ def prerun(rulematch=False):
|
||||
# If the original trigger is not the same after && split
|
||||
# so we will now redispatch to help get the correct function passed
|
||||
trigger_command = sb.commands.get_command_from_trigger(trigger)
|
||||
if trigger_command != commands[0]["trigger_command"]:
|
||||
if trigger_command != commands[0]["trigger_command"] and "&&" in trigger.args[1]:
|
||||
sb.commands.dispatch(commands[0])
|
||||
return
|
||||
|
||||
@ -39,7 +39,7 @@ def prerun(rulematch=False):
|
||||
|
||||
# Validate | split
|
||||
trigger_command = sb.commands.get_command_from_trigger(trigger)
|
||||
if trigger_command != commands[0]["trigger_command"]:
|
||||
if trigger_command != commands[0]["trigger_command"] and "|" in trigger.args[1]:
|
||||
trigger_dict = rebuild_pipes(commands)
|
||||
sb.commands.dispatch(trigger_dict)
|
||||
return
|
||||
|
||||
Loading…
Reference in New Issue
Block a user