This commit is contained in:
deathbybandaid 2022-05-05 14:14:49 -04:00
parent c0f6ada898
commit a0edd673a8

View File

@ -84,7 +84,7 @@ def rebuild_pipes(commands, trigger_str_add=None):
if not trigger_str_add:
repipe_trigger_dict = commands[0]
else:
repipe_trigger_dict = ""
repipe_trigger_dict = commands[1]
trigger_number = 1
for trigger_dict in commands[1:]:
@ -96,10 +96,10 @@ def rebuild_pipes(commands, trigger_str_add=None):
splitkey_str = ""
if trigger_dict["trigger_type"] == "command":
sadfsdfa_str = "%s%s%s %s" % (splitkey_str, trigger_dict["trigger_prefix"], trigger_dict["trigger_command"], trigger_str)
print(repipe_trigger_dict["trigger_str"])
print(sadfsdfa_str)
repipe_trigger_dict["trigger_str"] += sadfsdfa_str
repipe_trigger_dict["trigger_str"] += "%s%s%s %s" % (splitkey_str,
trigger_dict["trigger_prefix"],
trigger_dict["trigger_command"],
trigger_str)
elif trigger_dict["trigger_type"] == "nickname_command":
repipe_trigger_dict["trigger_str"] += "%s%s %s %s" % (splitkey_str,