From 88416fbe94b1d2a5124f1f69661daca834d39bfc Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Thu, 19 Sep 2019 14:06:43 -0400 Subject: [PATCH] test --- sopel_modules/SpiceBot_Core_Commands/AI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sopel_modules/SpiceBot_Core_Commands/AI.py b/sopel_modules/SpiceBot_Core_Commands/AI.py index c24561d..5e42dc5 100644 --- a/sopel_modules/SpiceBot_Core_Commands/AI.py +++ b/sopel_modules/SpiceBot_Core_Commands/AI.py @@ -120,7 +120,7 @@ def bot_command_rule_ai(bot, trigger): invalid_display = [] if len(hyphen_args): hyphenarg = hyphen_args[0] - if hyphenarg in ['check']: + if hyphenarg in SpiceBot.prerun_shared.valid_hyphen_args: invalid_display = ["I don't seem to have a command for " + str(trigger_command) + "!"] else: invalid_display = []