This commit is contained in:
deathbybandaid 2022-02-09 12:58:13 -05:00
parent 0a7edb0c3c
commit 45bbf363d3

View File

@ -16,11 +16,13 @@ SCRIPT_DIR = pathlib.Path(os.path.dirname(os.path.abspath(__file__)))
def setup(bot):
bot.sbcore = SpiceBotCore_OBJ
bot.sbcore.increment = 1
@plugin.nickname_command('test')
def test(bot, trigger):
bot.say("Testing the bot")
bot.say("Test #%s" % [x for x in dir(bot.sbcore) if not x.startswith("__")])
bot.say("Attributes: %s" % [x for x in dir(bot.sbcore) if not x.startswith("__")])
bot.say("Test #%s" % bot.sbcore.increment)
# bot.sbcore.increment += 1
bot.sbcore.increment += 1