From 45bbf363d38b13669813dc91cbba061ed75d5a9e Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 9 Feb 2022 12:58:13 -0500 Subject: [PATCH] test --- SpiceBot/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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