From abef636c158d73369273eef10bb64ccc499fb4d3 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 5 Jun 2019 19:40:30 -0400 Subject: [PATCH] test --- sopel_modules/SpiceBot_AI/AI_aiml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sopel_modules/SpiceBot_AI/AI_aiml.py b/sopel_modules/SpiceBot_AI/AI_aiml.py index 2035902..03f089b 100644 --- a/sopel_modules/SpiceBot_AI/AI_aiml.py +++ b/sopel_modules/SpiceBot_AI/AI_aiml.py @@ -21,7 +21,7 @@ def bot_command_rule(bot, trigger): if not len(trigger.args): return - message = trigger.args[1].encode('ascii', 'ignore') + message = str(trigger.args[1]) # ignore text coming from a valid prefix if str(message).startswith(tuple(bot.config.core.prefix_list)):