diff --git a/sopel_modules/SpiceBot/AI.py b/sopel_modules/SpiceBot/AI.py index abcad9f..23a1c3c 100644 --- a/sopel_modules/SpiceBot/AI.py +++ b/sopel_modules/SpiceBot/AI.py @@ -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()