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

13 lines
243 B
Python

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