SpiceBot/sopel_SpiceBot_Runtime_Action_Commands/__init__.py
deathbybandaid 5776b7f2b9 test
2022-02-12 13:56:19 -05:00

18 lines
291 B
Python

from sopel import plugin
from sopel_SpiceBot_Core_1 import sb
from sopel_SpiceBot_Core_Prerun import prerun
@prerun()
@plugin.action_command('test')
def sb_test_commands(bot, trigger):
bot.say("%s" % trigger.raw)
bot.say("%s" % trigger.args[1])
sb.osd(str(dir(trigger)))