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))