test
This commit is contained in:
parent
0d946b6c49
commit
3d12ad180a
@ -8,4 +8,3 @@ class SpiceBotCore_OBJ():
|
|||||||
|
|
||||||
def setup(self, script_dir, bot):
|
def setup(self, script_dir, bot):
|
||||||
self.script_dir = script_dir
|
self.script_dir = script_dir
|
||||||
self.bot = bot
|
|
||||||
|
|||||||
@ -18,9 +18,10 @@ spicebotcore = SpiceBotCore_OBJ
|
|||||||
|
|
||||||
|
|
||||||
def setup(bot):
|
def setup(bot):
|
||||||
spicebotcore.setup(SCRIPT_DIR, bot)
|
spicebotcore.setup(SCRIPT_DIR)
|
||||||
|
|
||||||
|
|
||||||
@plugin.nickname_command('test')
|
@plugin.nickname_command('test')
|
||||||
def test(bot, trigger):
|
def test(bot, trigger):
|
||||||
bot.say("Testing the bot")
|
bot.say("Testing the bot")
|
||||||
|
bot.say("%s" % spicebotcore.script_dir)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user