SpiceBot/sopel_SpiceBot_Runtime_Commands/__init__.py
deathbybandaid f20d9f7485 test
2022-02-10 10:14:55 -05:00

16 lines
369 B
Python

from sopel import plugin
from sopel_SpiceBot_Core_Prerun.SBCore.prerun import prerun
@prerun('nickname')
@plugin.nickname_command('test')
def sb_nickname_command(bot, trigger, sb):
bot.say("Testing the bot")
bot.say("Attributes: %s" % [x for x in dir(sb) if not x.startswith("__")])
bot.say("%s" % sb.versions.dict)
sb.osd("test", trigger.sender)