Compare commits

..

No commits in common. "18e08f964364bbf52df6af3d431b8e8bf259876c" and "a4c1e113e05d5732a20c3147e3163eb4bdc67bc0" have entirely different histories.

3 changed files with 16 additions and 2 deletions

View File

@ -5,6 +5,20 @@ 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")
comrun.say(str(comrun.trigger).lower())
@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):

View File

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