mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
better
This commit is contained in:
parent
44f1ff6215
commit
a9bbfa936f
@ -33,7 +33,8 @@ class SpiceBot_AI():
|
||||
logs.log('SpiceBot_AI', "Found " + str(self.dict['counts']) + " " + 'aiml' + " commands.", True)
|
||||
|
||||
def on_message(self, message):
|
||||
return self.aiml_kernel.respond(message.content)
|
||||
aiml_response = self.aiml_kernel.respond(message)
|
||||
return self.aiml_kernel.respond(aiml_response)
|
||||
|
||||
|
||||
botai = SpiceBot_AI()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user