mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
test
This commit is contained in:
parent
405d64d9dc
commit
9a392924c6
@ -35,7 +35,8 @@ class SpiceBot_AI():
|
|||||||
def on_message(self, message):
|
def on_message(self, message):
|
||||||
try:
|
try:
|
||||||
aiml_response = self.aiml_kernel.respond(message)
|
aiml_response = self.aiml_kernel.respond(message)
|
||||||
except WARNING:
|
except Exception as e:
|
||||||
|
aiml_response = e
|
||||||
return None
|
return None
|
||||||
return aiml_response
|
return aiml_response
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user