test
This commit is contained in:
parent
c6e8b79255
commit
9f09b2c03d
@ -13,17 +13,17 @@ from .SpiceBotCore import SpiceBotCore_OBJ
|
|||||||
|
|
||||||
SCRIPT_DIR = pathlib.Path(os.path.dirname(os.path.abspath(__file__)))
|
SCRIPT_DIR = pathlib.Path(os.path.dirname(os.path.abspath(__file__)))
|
||||||
|
|
||||||
sbcore = SpiceBotCore_OBJ(SCRIPT_DIR)
|
sb = SpiceBotCore_OBJ(SCRIPT_DIR)
|
||||||
|
|
||||||
|
|
||||||
def setup(bot):
|
def setup(bot):
|
||||||
sbcore.setup(bot)
|
sb.setup(bot)
|
||||||
|
|
||||||
|
|
||||||
@plugin.nickname_command('test')
|
@plugin.nickname_command('test')
|
||||||
def sb_nickname_command(bot, trigger):
|
def sb_nickname_command(bot, trigger):
|
||||||
bot.say("Testing the bot")
|
bot.say("Testing the bot")
|
||||||
bot.say("Attributes: %s" % [x for x in dir(sbcore) if not x.startswith("__")])
|
bot.say("Attributes: %s" % [x for x in dir(sb) if not x.startswith("__")])
|
||||||
bot.say("%s" % sbcore.versions.dict)
|
bot.say("%s" % sb.versions.dict)
|
||||||
|
|
||||||
sbcore.osd("test")
|
sb.osd("test")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user