From 766ff9e9d082b20ffd3057fafd77d510047ee9d4 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Tue, 4 Jun 2019 16:18:40 -0400 Subject: [PATCH] hmm --- sopel_modules/SpiceBot_AI/AI_aiml.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sopel_modules/SpiceBot_AI/AI_aiml.py b/sopel_modules/SpiceBot_AI/AI_aiml.py index b5d2d4c..3ac2b3b 100644 --- a/sopel_modules/SpiceBot_AI/AI_aiml.py +++ b/sopel_modules/SpiceBot_AI/AI_aiml.py @@ -26,6 +26,9 @@ def bot_command_rule(bot, trigger): # ignore text coming from a valid prefix if str(message).startswith(tuple(bot.config.core.prefix_list)): trigger_args, trigger_command = SpiceBot.prerun.trigger_args(message, 'module') + # patch for people typing "...", maybe other stuff, but this verifies that there is still a command here + if trigger_command.startswith("."): + return commands_list = [] for commandstype in SpiceBot.commands.dict['commands'].keys(): if commandstype not in ['rule', 'nickname']: