from sopel import plugin from sopel_SpiceBot_Core_1 import sb from sopel_SpiceBot_Core_Prerun import prerun_action_command @prerun_action_command() @plugin.action_command('test') def sb_test_commands(bot, trigger): 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)