diff --git a/SpiceBot/__init__.py b/SpiceBot/__init__.py index a295ebf..873ffc6 100644 --- a/SpiceBot/__init__.py +++ b/SpiceBot/__init__.py @@ -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