From 86a8b4f8fafcd3ee1395751c3226f4da38e4ea6f Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 9 Feb 2022 12:19:52 -0500 Subject: [PATCH] test --- SpiceBot/__init__.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/SpiceBot/__init__.py b/SpiceBot/__init__.py index b46b25e..ee0b8e3 100644 --- a/SpiceBot/__init__.py +++ b/SpiceBot/__init__.py @@ -22,17 +22,8 @@ SCRIPT_DIR = pathlib.Path(os.path.dirname(os.path.abspath(__file__))) def setup(bot): SpiceBotCore_OBJ.script_dir = SCRIPT_DIR - print(SpiceBotCore_OBJ.script_dir) - - SpiceBotCore_OBJ.test = "testing loading a class" - - print(SpiceBotCore_OBJ.test) -@plugin.command('test') +@plugin.nickcommand('test') def test(bot, trigger): bot.say("Testing the bot") - bot.say("Loading SpiceBotCore from: %s" % SpiceBotCore_OBJ.script_dir) - bot.say("Test String = %s" % SpiceBotCore_OBJ.test) - - SpiceBotCore_OBJ.test = "%s test B" % SpiceBotCore_OBJ.test