This commit is contained in:
deathbybandaid 2022-05-05 14:58:06 -04:00
parent 62b6532aba
commit 18e08f9643
3 changed files with 2 additions and 16 deletions

View File

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

View File

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

View File

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