From a9bbfa936fcda0884dbef17a5364e07b98d03a64 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 31 May 2019 19:47:55 -0400 Subject: [PATCH] better --- sopel_modules/SpiceBot/AI.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()