From 9ea90d165be8692fc2bf56b92fe6efa4e472a6b5 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 9 Feb 2022 12:41:51 -0500 Subject: [PATCH] test --- SpiceBot/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/SpiceBot/__init__.py b/SpiceBot/__init__.py index c768d2a..b2bccd2 100644 --- a/SpiceBot/__init__.py +++ b/SpiceBot/__init__.py @@ -10,16 +10,15 @@ import pathlib from sopel import plugin from .SpiceBotCore import SpiceBotCore_OBJ -sbcore = SpiceBotCore_OBJ SCRIPT_DIR = pathlib.Path(os.path.dirname(os.path.abspath(__file__))) def setup(bot): - sbcore.setup(SCRIPT_DIR, bot) + SpiceBotCore_OBJ.setup(SCRIPT_DIR, bot) @plugin.nickname_command('test') def test(bot, trigger): bot.say("Testing the bot") - bot.say("%s" % sbcore.script_dir) + bot.say("%s" % SpiceBotCore_OBJ.script_dir)