This commit is contained in:
deathbybandaid 2019-05-31 19:38:18 -04:00
parent 213610cea8
commit 1b7e314199
2 changed files with 3 additions and 1 deletions

View File

@ -34,3 +34,5 @@ class SpiceBot_AI():
def on_message(self, message):
return self.aiml_kernel.respond(message.content)
botai = SpiceBot_AI()

View File

@ -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()):
return
bot.osd(str(SpiceBot.AI.on_message(str(trigger.args[1]))))
bot.osd(str(SpiceBot.botai.on_message(str(trigger.args[1]))))