test
This commit is contained in:
parent
0a7edb0c3c
commit
45bbf363d3
@ -16,11 +16,13 @@ SCRIPT_DIR = pathlib.Path(os.path.dirname(os.path.abspath(__file__)))
|
|||||||
|
|
||||||
def setup(bot):
|
def setup(bot):
|
||||||
bot.sbcore = SpiceBotCore_OBJ
|
bot.sbcore = SpiceBotCore_OBJ
|
||||||
|
bot.sbcore.increment = 1
|
||||||
|
|
||||||
|
|
||||||
@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("Test #%s" % [x for x in dir(bot.sbcore) if not x.startswith("__")])
|
bot.say("Attributes: %s" % [x for x in dir(bot.sbcore) if not x.startswith("__")])
|
||||||
|
bot.say("Test #%s" % bot.sbcore.increment)
|
||||||
|
|
||||||
# bot.sbcore.increment += 1
|
bot.sbcore.increment += 1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user