test
This commit is contained in:
parent
a2aeb9eb43
commit
cbd4360d68
@ -53,12 +53,21 @@ def rebuild_pipes(commands):
|
|||||||
repipe_trigger_dict = commands[0]
|
repipe_trigger_dict = commands[0]
|
||||||
|
|
||||||
for trigger_dict in commands[1:]:
|
for trigger_dict in commands[1:]:
|
||||||
|
|
||||||
if trigger_dict["trigger_type"] == "command":
|
if trigger_dict["trigger_type"] == "command":
|
||||||
repipe_trigger_dict["trigger_str"] += " | %s%s %s" % (trigger_dict["trigger_prefix"], trigger_dict["trigger_command"], trigger_dict["trigger_str"])
|
repipe_trigger_dict["trigger_str"] += " | %s%s %s" % (trigger_dict["trigger_prefix"],
|
||||||
|
trigger_dict["trigger_command"],
|
||||||
|
trigger_dict["trigger_str"])
|
||||||
|
|
||||||
elif trigger_dict["trigger_type"] == "nickname_command":
|
elif trigger_dict["trigger_type"] == "nickname_command":
|
||||||
repipe_trigger_dict["trigger_str"] += " | %s %s %s" % (trigger_dict["trigger_prefix"], trigger_dict["trigger_command"], trigger_dict["trigger_str"])
|
repipe_trigger_dict["trigger_str"] += " | %s %s %s" % (trigger_dict["trigger_prefix"],
|
||||||
|
trigger_dict["trigger_command"],
|
||||||
|
trigger_dict["trigger_str"])
|
||||||
|
|
||||||
elif trigger_dict["trigger_type"] == "action_command":
|
elif trigger_dict["trigger_type"] == "action_command":
|
||||||
repipe_trigger_dict["trigger_str"] += " | %s %s %s" % ("/me", trigger_dict["trigger_command"], trigger_dict["trigger_str"])
|
repipe_trigger_dict["trigger_str"] += " | %s %s %s" % ("/me",
|
||||||
|
trigger_dict["trigger_command"],
|
||||||
|
trigger_dict["trigger_str"])
|
||||||
|
|
||||||
return repipe_trigger_dict
|
return repipe_trigger_dict
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user