This commit is contained in:
deathbybandaid 2022-02-22 14:09:11 -05:00
parent 183d8da24c
commit f26a896dac

View File

@ -6,18 +6,14 @@ from sopel_SpiceBot_Core_Prerun import prerun
@prerun() @prerun()
@plugin.command('pipea') @plugin.command('lower')
def pipea(bot, trigger, comrun): def lower(bot, trigger, comrun):
bot.say("%s" % trigger.raw)
bot.say(str(comrun.trigger_dict))
comrun.say = str(comrun.trigger_dict["trigger_str"]).lower() comrun.say = str(comrun.trigger_dict["trigger_str"]).lower()
@prerun() @prerun()
@plugin.command('pipeb') @plugin.command('upper')
def pipeb(bot, trigger, comrun): def upper(bot, trigger, comrun):
bot.say("%s" % trigger.raw)
bot.say(str(comrun.trigger_dict))
comrun.say = str(comrun.trigger_dict["trigger_str"]).upper() comrun.say = str(comrun.trigger_dict["trigger_str"]).upper()