test
This commit is contained in:
parent
c03cbdc018
commit
8ae5cc68cd
@ -153,7 +153,6 @@ class ComRun():
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def is_pipe_command(self):
|
def is_pipe_command(self):
|
||||||
print(self.trigger.args[1])
|
|
||||||
if sb.commands.pipe_split_key in self.trigger.args[1]:
|
if sb.commands.pipe_split_key in self.trigger.args[1]:
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|||||||
@ -9,6 +9,7 @@ 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()
|
||||||
@ -16,6 +17,7 @@ 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