test
This commit is contained in:
parent
c03cbdc018
commit
8ae5cc68cd
@ -153,7 +153,6 @@ class ComRun():
|
||||
|
||||
@property
|
||||
def is_pipe_command(self):
|
||||
print(self.trigger.args[1])
|
||||
if sb.commands.pipe_split_key in self.trigger.args[1]:
|
||||
return True
|
||||
return False
|
||||
|
||||
@ -9,6 +9,7 @@ from sopel_SpiceBot_Core_Prerun import prerun
|
||||
@plugin.command('testoa')
|
||||
def commands_output_a(bot, trigger, comrun):
|
||||
comrun.say("this is test a")
|
||||
bot.say("test a")
|
||||
|
||||
|
||||
@prerun()
|
||||
@ -16,6 +17,7 @@ def commands_output_a(bot, trigger, comrun):
|
||||
def commands_output_b(bot, trigger, comrun):
|
||||
comrun.say("this is test b")
|
||||
comrun.say(str(comrun.trigger).upper())
|
||||
bot.say("test b")
|
||||
|
||||
|
||||
@prerun()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user