test
This commit is contained in:
parent
6fa90e700b
commit
23d67e238c
@ -89,18 +89,16 @@ def rebuild_pipes(commands, trigger_str_add=None):
|
|||||||
trigger_number = 1
|
trigger_number = 1
|
||||||
for trigger_dict in commands[1:]:
|
for trigger_dict in commands[1:]:
|
||||||
|
|
||||||
if trigger_str_add and trigger_number == 1:
|
|
||||||
trigger_str = trigger_dict["trigger_str"] + " %s" % trigger_str_add
|
|
||||||
else:
|
|
||||||
trigger_str = trigger_dict["trigger_str"]
|
trigger_str = trigger_dict["trigger_str"]
|
||||||
|
|
||||||
if trigger_str_add:
|
|
||||||
splitkey_str = ""
|
|
||||||
else:
|
|
||||||
splitkey_str = " %s " % sb.commands.pipe_split_key
|
splitkey_str = " %s " % sb.commands.pipe_split_key
|
||||||
|
if trigger_str_add and trigger_number == 1:
|
||||||
|
trigger_str += " %s" % trigger_str_add
|
||||||
|
splitkey_str = ""
|
||||||
|
|
||||||
|
print("%s%s%s %s" % (splitkey_str, trigger_dict["trigger_prefix"], trigger_dict["trigger_command"], trigger_str))
|
||||||
|
|
||||||
if trigger_dict["trigger_type"] == "command":
|
if trigger_dict["trigger_type"] == "command":
|
||||||
repipe_trigger_dict["trigger_str"] += "%s%s%s %s" % (sb.commands.pipe_split_key,
|
repipe_trigger_dict["trigger_str"] += "%s%s%s %s" % (splitkey_str,
|
||||||
trigger_dict["trigger_prefix"],
|
trigger_dict["trigger_prefix"],
|
||||||
trigger_dict["trigger_command"],
|
trigger_dict["trigger_command"],
|
||||||
trigger_str)
|
trigger_str)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user