test
This commit is contained in:
parent
ef8f50ce82
commit
6fa90e700b
@ -100,7 +100,7 @@ def rebuild_pipes(commands, trigger_str_add=None):
|
|||||||
splitkey_str = " %s " % sb.commands.pipe_split_key
|
splitkey_str = " %s " % sb.commands.pipe_split_key
|
||||||
|
|
||||||
if trigger_dict["trigger_type"] == "command":
|
if trigger_dict["trigger_type"] == "command":
|
||||||
repipe_trigger_dict["trigger_str"] += "%s%s%s %s" % (splitkey_str,
|
repipe_trigger_dict["trigger_str"] += "%s%s%s %s" % (sb.commands.pipe_split_key,
|
||||||
trigger_dict["trigger_prefix"],
|
trigger_dict["trigger_prefix"],
|
||||||
trigger_dict["trigger_command"],
|
trigger_dict["trigger_command"],
|
||||||
trigger_str)
|
trigger_str)
|
||||||
|
|||||||
@ -9,7 +9,6 @@ from sopel_SpiceBot_Core_Prerun import prerun
|
|||||||
@plugin.command('testoa')
|
@plugin.command('testoa')
|
||||||
def commands_output_a(bot, trigger, comrun):
|
def commands_output_a(bot, trigger, comrun):
|
||||||
comrun.say("this is test a")
|
comrun.say("this is test a")
|
||||||
bot.say("test a")
|
|
||||||
|
|
||||||
|
|
||||||
@prerun()
|
@prerun()
|
||||||
@ -17,7 +16,6 @@ def commands_output_a(bot, trigger, comrun):
|
|||||||
def commands_output_b(bot, trigger, comrun):
|
def commands_output_b(bot, trigger, comrun):
|
||||||
comrun.say("this is test b")
|
comrun.say("this is test b")
|
||||||
comrun.say(str(comrun.trigger).upper())
|
comrun.say(str(comrun.trigger).upper())
|
||||||
bot.say("test b")
|
|
||||||
|
|
||||||
|
|
||||||
@prerun()
|
@prerun()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user