This commit is contained in:
deathbybandaid 2022-05-05 13:12:03 -04:00
parent c03cbdc018
commit 8ae5cc68cd
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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()