mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
pass differently
This commit is contained in:
parent
737d948a2b
commit
c87a731ceb
@ -62,7 +62,7 @@ class SpiceBot_AI():
|
||||
def on_message(self, bot, trigger, message):
|
||||
nick = Identifier(trigger.nick)
|
||||
nick_id = bot.db.get_nick_id(nick, create=True)
|
||||
aiml_response = self.aiml_kernel.respond(message, nick_id)
|
||||
aiml_response = self.aiml_kernel.respond(message, sessionId=nick_id)
|
||||
return aiml_response
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user