SpiceBot/spicebot_command_upper/__init__.py
deathbybandaid 46f6966eda Core Bot
2022-02-24 10:58:48 -05:00

12 lines
209 B
Python

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