diff --git a/sopel_modules/SpiceBot/AI.py b/sopel_modules/SpiceBot/AI.py index 4a355b8..d8efc71 100644 --- a/sopel_modules/SpiceBot/AI.py +++ b/sopel_modules/SpiceBot/AI.py @@ -35,7 +35,8 @@ class SpiceBot_AI(): def on_message(self, message): try: aiml_response = self.aiml_kernel.respond(message) - except WARNING: + except Exception as e: + aiml_response = e return None return aiml_response