This commit is contained in:
deathbybandaid 2022-02-10 10:16:58 -05:00
parent 1162832148
commit 13efd210b3

View File

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