test
This commit is contained in:
parent
3d12ad180a
commit
83d900dfa1
@ -14,14 +14,12 @@ from sopel import plugin
|
|||||||
|
|
||||||
SCRIPT_DIR = pathlib.Path(os.path.dirname(os.path.abspath(__file__)))
|
SCRIPT_DIR = pathlib.Path(os.path.dirname(os.path.abspath(__file__)))
|
||||||
|
|
||||||
spicebotcore = SpiceBotCore_OBJ
|
|
||||||
|
|
||||||
|
|
||||||
def setup(bot):
|
def setup(bot):
|
||||||
spicebotcore.setup(SCRIPT_DIR)
|
SpiceBotCore_OBJ.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)
|
bot.say("%s" % SpiceBotCore_OBJ.script_dir)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user