test
This commit is contained in:
parent
beaab95605
commit
c0f6ada898
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
|
|
||||||
from sopel.trigger import PreTrigger, Trigger
|
from sopel.trigger import PreTrigger
|
||||||
|
|
||||||
|
|
||||||
class Commands():
|
class Commands():
|
||||||
|
|||||||
@ -92,14 +92,14 @@ def rebuild_pipes(commands, trigger_str_add=None):
|
|||||||
trigger_str = trigger_dict["trigger_str"]
|
trigger_str = trigger_dict["trigger_str"]
|
||||||
splitkey_str = " %s " % sb.commands.pipe_split_key
|
splitkey_str = " %s " % sb.commands.pipe_split_key
|
||||||
if trigger_str_add and trigger_number == 1:
|
if trigger_str_add and trigger_number == 1:
|
||||||
# trigger_str += " %s" % trigger_str_add
|
trigger_str += " %s" % trigger_str_add
|
||||||
splitkey_str = ""
|
splitkey_str = ""
|
||||||
|
|
||||||
if trigger_dict["trigger_type"] == "command":
|
if trigger_dict["trigger_type"] == "command":
|
||||||
repipe_trigger_dict["trigger_str"] += "%s%s%s %s" % (splitkey_str,
|
sadfsdfa_str = "%s%s%s %s" % (splitkey_str, trigger_dict["trigger_prefix"], trigger_dict["trigger_command"], trigger_str)
|
||||||
trigger_dict["trigger_prefix"],
|
print(repipe_trigger_dict["trigger_str"])
|
||||||
trigger_dict["trigger_command"],
|
print(sadfsdfa_str)
|
||||||
trigger_str)
|
repipe_trigger_dict["trigger_str"] += sadfsdfa_str
|
||||||
|
|
||||||
elif trigger_dict["trigger_type"] == "nickname_command":
|
elif trigger_dict["trigger_type"] == "nickname_command":
|
||||||
repipe_trigger_dict["trigger_str"] += "%s%s %s %s" % (splitkey_str,
|
repipe_trigger_dict["trigger_str"] += "%s%s %s %s" % (splitkey_str,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user