test
This commit is contained in:
parent
f26a896dac
commit
f2fdcab729
@ -29,3 +29,5 @@ sopel.plugins =
|
||||
sopel_SpiceBot_Runtime_Nickname_Commands = sopel_SpiceBot_Runtime_Nickname_Commands
|
||||
sopel_SpiceBot_Runtime_Action_Commands = sopel_SpiceBot_Runtime_Action_Commands
|
||||
spicemanip = spicemanip
|
||||
spicebot_command_lower = spicebot_command_lower
|
||||
spicebot_command_upper = spicebot_command_upper
|
||||
|
||||
@ -5,18 +5,6 @@ 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()
|
||||
|
||||
|
||||
@prerun()
|
||||
@plugin.command('upper')
|
||||
def upper(bot, trigger, comrun):
|
||||
comrun.say = str(comrun.trigger_dict["trigger_str"]).upper()
|
||||
|
||||
|
||||
@prerun()
|
||||
@plugin.command('test', "testnew")
|
||||
def commands_test(bot, trigger, comrun):
|
||||
|
||||
11
spicebot_command_lower/__init__.py
Normal file
11
spicebot_command_lower/__init__.py
Normal 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()
|
||||
11
spicebot_command_upper/__init__.py
Normal file
11
spicebot_command_upper/__init__.py
Normal 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()
|
||||
Loading…
Reference in New Issue
Block a user