From c11c7af5f860046580c91e42790e24b5590bb851 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 31 May 2019 21:43:01 -0400 Subject: [PATCH] oops --- sopel_modules/SpiceBot_AI/AI_aiml.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sopel_modules/SpiceBot_AI/AI_aiml.py b/sopel_modules/SpiceBot_AI/AI_aiml.py index b791e34..b3d400d 100644 --- a/sopel_modules/SpiceBot_AI/AI_aiml.py +++ b/sopel_modules/SpiceBot_AI/AI_aiml.py @@ -19,4 +19,6 @@ def bot_command_nick(bot, trigger): if str(trigger.args[1]).startswith((".", '?', '!')) or str(trigger.args[1]).lower().startswith(bot.nick.lower()): return - bot.osd(str(SpiceBot.botai.on_message(str(bot, trigger, trigger.args[1])))) + returnmessage = SpiceBot.botai.on_message(bot, trigger, trigger.args[1]) + + bot.osd(str(returnmessage))