test
This commit is contained in:
parent
62b6532aba
commit
18e08f9643
@ -5,20 +5,6 @@ from sopel import plugin
|
|||||||
from sopel_SpiceBot_Core_Prerun import prerun
|
from sopel_SpiceBot_Core_Prerun import prerun
|
||||||
|
|
||||||
|
|
||||||
@prerun()
|
|
||||||
@plugin.command('testoa')
|
|
||||||
def commands_output_a(bot, trigger, comrun):
|
|
||||||
comrun.say("this is test a")
|
|
||||||
comrun.say(str(comrun.command["trigger_str"]).lower())
|
|
||||||
|
|
||||||
|
|
||||||
@prerun()
|
|
||||||
@plugin.command('testob')
|
|
||||||
def commands_output_b(bot, trigger, comrun):
|
|
||||||
comrun.say("this is test b")
|
|
||||||
comrun.say(str(comrun.command["trigger_str"]).upper())
|
|
||||||
|
|
||||||
|
|
||||||
@prerun()
|
@prerun()
|
||||||
@plugin.command('test', "testnew")
|
@plugin.command('test', "testnew")
|
||||||
def commands_test(bot, trigger, comrun):
|
def commands_test(bot, trigger, comrun):
|
||||||
|
|||||||
@ -9,4 +9,4 @@ from sopel_SpiceBot_Core_Prerun import prerun
|
|||||||
@plugin.nickname_command('lower')
|
@plugin.nickname_command('lower')
|
||||||
@plugin.command('lower')
|
@plugin.command('lower')
|
||||||
def lower(bot, trigger, comrun):
|
def lower(bot, trigger, comrun):
|
||||||
comrun.say = str(comrun.trigger_dict["trigger_str"]).lower()
|
comrun.say(str(comrun.trigger_dict["trigger_str"]).lower())
|
||||||
|
|||||||
@ -8,4 +8,4 @@ from sopel_SpiceBot_Core_Prerun import prerun
|
|||||||
@prerun()
|
@prerun()
|
||||||
@plugin.command('upper')
|
@plugin.command('upper')
|
||||||
def upper(bot, trigger, comrun):
|
def upper(bot, trigger, comrun):
|
||||||
comrun.say = str(comrun.trigger_dict["trigger_str"]).upper()
|
comrun.say(str(comrun.trigger_dict["trigger_str"]).upper())
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user