test
This commit is contained in:
parent
76bb39221b
commit
b375d463a3
@ -4,6 +4,7 @@ class SpiceBotCore_OBJ():
|
|||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.script_dir = None
|
self.script_dir = None
|
||||||
|
self.increment = 1
|
||||||
self.bot = None
|
self.bot = None
|
||||||
|
|
||||||
def setup(self, script_dir, bot):
|
def setup(self, script_dir, bot):
|
||||||
|
|||||||
@ -19,4 +19,6 @@ sbcore.script_dir = 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" % sbcore.script_dir)
|
bot.say("Test #%s" % sbcore.increment)
|
||||||
|
|
||||||
|
sbcore.increment += 1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user