diff options
-rw-r--r-- | bot/exts/info/information.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bot/exts/info/information.py b/bot/exts/info/information.py index 73afa3309..61ed63771 100644 --- a/bot/exts/info/information.py +++ b/bot/exts/info/information.py @@ -549,9 +549,8 @@ class Information(Cog): try: rule_numbers.append(int(word)) except ValueError: - if (kw := word.lower()) not in keyword_to_rule_number: - break - keywords.append(kw) + if (kw := word.lower()) in keyword_to_rule_number: + keywords.append(kw) if not rule_numbers and not keywords: # Neither rules nor keywords were submitted. Return the default description. |