test
This commit is contained in:
parent
739f5cd41a
commit
9ea90d165b
@ -10,16 +10,15 @@ import pathlib
|
||||
from sopel import plugin
|
||||
|
||||
from .SpiceBotCore import SpiceBotCore_OBJ
|
||||
sbcore = SpiceBotCore_OBJ
|
||||
|
||||
SCRIPT_DIR = pathlib.Path(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
|
||||
def setup(bot):
|
||||
sbcore.setup(SCRIPT_DIR, bot)
|
||||
SpiceBotCore_OBJ.setup(SCRIPT_DIR, bot)
|
||||
|
||||
|
||||
@plugin.nickname_command('test')
|
||||
def test(bot, trigger):
|
||||
bot.say("Testing the bot")
|
||||
bot.say("%s" % sbcore.script_dir)
|
||||
bot.say("%s" % SpiceBotCore_OBJ.script_dir)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user