This commit is contained in:
deathbybandaid 2022-02-22 14:40:42 -05:00
parent f26a896dac
commit f2fdcab729
4 changed files with 24 additions and 12 deletions

View File

@ -29,3 +29,5 @@ sopel.plugins =
sopel_SpiceBot_Runtime_Nickname_Commands = sopel_SpiceBot_Runtime_Nickname_Commands sopel_SpiceBot_Runtime_Nickname_Commands = sopel_SpiceBot_Runtime_Nickname_Commands
sopel_SpiceBot_Runtime_Action_Commands = sopel_SpiceBot_Runtime_Action_Commands sopel_SpiceBot_Runtime_Action_Commands = sopel_SpiceBot_Runtime_Action_Commands
spicemanip = spicemanip spicemanip = spicemanip
spicebot_command_lower = spicebot_command_lower
spicebot_command_upper = spicebot_command_upper

View File

@ -5,18 +5,6 @@ from sopel import plugin
from sopel_SpiceBot_Core_Prerun import prerun from sopel_SpiceBot_Core_Prerun import prerun
@prerun()
@plugin.command('lower')
def lower(bot, trigger, comrun):
comrun.say = str(comrun.trigger_dict["trigger_str"]).lower()
@prerun()
@plugin.command('upper')
def upper(bot, trigger, comrun):
comrun.say = str(comrun.trigger_dict["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

@ -0,0 +1,11 @@
from sopel import plugin
from sopel_SpiceBot_Core_Prerun import prerun
@prerun()
@plugin.command('lower')
def lower(bot, trigger, comrun):
comrun.say = str(comrun.trigger_dict["trigger_str"]).lower()

View File

@ -0,0 +1,11 @@
from sopel import plugin
from sopel_SpiceBot_Core_Prerun import prerun
@prerun()
@plugin.command('upper')
def upper(bot, trigger, comrun):
comrun.say = str(comrun.trigger_dict["trigger_str"]).upper()