test
This commit is contained in:
parent
dd3d911443
commit
86a8b4f8fa
@ -22,17 +22,8 @@ SCRIPT_DIR = pathlib.Path(os.path.dirname(os.path.abspath(__file__)))
|
|||||||
|
|
||||||
def setup(bot):
|
def setup(bot):
|
||||||
SpiceBotCore_OBJ.script_dir = SCRIPT_DIR
|
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):
|
def test(bot, trigger):
|
||||||
bot.say("Testing the bot")
|
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
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user