46 lines
871 B
Python
46 lines
871 B
Python
|
|
|
|
from sopel import plugin
|
|
|
|
from sopel_SpiceBot_Core_Prerun import prerun
|
|
|
|
|
|
@prerun()
|
|
@plugin.command('testoa')
|
|
def commands_output_a(bot, trigger, comrun):
|
|
comrun.say("this is test a")
|
|
|
|
|
|
@prerun()
|
|
@plugin.command('testob')
|
|
def commands_output_b(bot, trigger, comrun):
|
|
comrun.say("this is test b")
|
|
comrun.say(str(comrun.trigger).upper())
|
|
|
|
|
|
@prerun()
|
|
@plugin.command('test', "testnew")
|
|
def commands_test(bot, trigger, comrun):
|
|
bot.say("%s" % trigger.raw)
|
|
|
|
|
|
@prerun()
|
|
@plugin.command('testa')
|
|
def commands_test_a(bot, trigger, comrun):
|
|
bot.say("test a")
|
|
bot.say("%s" % trigger.raw)
|
|
|
|
|
|
@prerun()
|
|
@plugin.command('testb')
|
|
def commands_test_b(bot, trigger, comrun):
|
|
bot.say("test b")
|
|
bot.say("%s" % trigger.raw)
|
|
|
|
|
|
@plugin.command('testc')
|
|
def commands_test_c(bot, trigger, comrun):
|
|
bot.say("test c")
|
|
|
|
bot.say("test c: %s" % trigger.raw)
|