mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 15:09:54 -05:00
test
This commit is contained in:
parent
213610cea8
commit
1b7e314199
@ -34,3 +34,5 @@ class SpiceBot_AI():
|
|||||||
|
|
||||||
def on_message(self, message):
|
def on_message(self, message):
|
||||||
return self.aiml_kernel.respond(message.content)
|
return self.aiml_kernel.respond(message.content)
|
||||||
|
|
||||||
|
botai = SpiceBot_AI()
|
||||||
|
|||||||
@ -19,4 +19,4 @@ def bot_command_nick(bot, trigger):
|
|||||||
if str(trigger.args[1]).startswith((".", '?', '!')) or str(trigger.args[1]).lower().startswith(bot.nick.lower()):
|
if str(trigger.args[1]).startswith((".", '?', '!')) or str(trigger.args[1]).lower().startswith(bot.nick.lower()):
|
||||||
return
|
return
|
||||||
|
|
||||||
bot.osd(str(SpiceBot.AI.on_message(str(trigger.args[1]))))
|
bot.osd(str(SpiceBot.botai.on_message(str(trigger.args[1]))))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user