From 359b41c50152c7ebe381343fb67ad6d9fff9b690 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 26 Jun 2019 16:02:02 -0400 Subject: [PATCH] tweak --- sopel_modules/SpiceBot_Core_Commands/AI.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sopel_modules/SpiceBot_Core_Commands/AI.py b/sopel_modules/SpiceBot_Core_Commands/AI.py index 6e22e69..1220827 100644 --- a/sopel_modules/SpiceBot_Core_Commands/AI.py +++ b/sopel_modules/SpiceBot_Core_Commands/AI.py @@ -21,12 +21,12 @@ def bot_command_rule_ai(bot, trigger): # don't run commands that are disabled in channels if not trigger.is_privmsg: channel_disabled_list = SpiceBot.commands.get_commands_disabled(str(trigger.sender), "fully") - if "ai" in list(channel_disabled_list.keys()): + if "nickname_ai" in list(channel_disabled_list.keys()): return # don't run commands that are disabled for specific users nick_disabled_list = SpiceBot.commands.get_commands_disabled(str(trigger.nick), "fully") - if "ai" in list(nick_disabled_list.keys()): + if "nickname_ai" in list(nick_disabled_list.keys()): return # TODO add config limits