This commit is contained in:
deathbybandaid 2022-02-09 12:19:52 -05:00
parent dd3d911443
commit 86a8b4f8fa

View File

@ -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