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