diff options
| author | 2022-09-16 21:08:44 +0100 | |
|---|---|---|
| committer | 2022-09-16 21:08:44 +0100 | |
| commit | 1c1650001f58e31721c79096642033fc005f8c82 (patch) | |
| tree | fd03a65c626d027045d157bd53c8998889f810e5 | |
| parent | rename rules to rule_numbers (diff) | |
remove help message that displays the available keywords per rule
| -rw-r--r-- | bot/exts/info/information.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/bot/exts/info/information.py b/bot/exts/info/information.py index c706fa4cd..42385edfb 100644 --- a/bot/exts/info/information.py +++ b/bot/exts/info/information.py @@ -562,10 +562,7 @@ class Information(Cog): for pick in rule_numbers: self.bot.stats.incr(f"rule_uses.{pick}") - final_rules.add( - f"**{pick}.** {full_rules[pick - 1][0]}\n\n" - f"You can also invoke this rule with the following keywords: " - f"{', '.join(full_rules[pick -1][1])}") + final_rules.add(f"**{pick}.** {full_rules[pick - 1][0]}") for keyword in keywords: for pick, rule in enumerate(full_rules): @@ -573,10 +570,7 @@ class Information(Cog): continue self.bot.stats.incr(f"rule_uses.{pick + 1}") - final_rules.add( - f"**{pick + 1}.** {full_rules[pick][0]}\n\n" - f"You can also invoke this rule with the following keywords: " - f"{', '.join(full_rules[pick][1])}") + final_rules.add(f"**{pick + 1}.** {full_rules[pick][0]}") if not rule_numbers and not final_rules: # This would mean that only keywords where used and no match for them was found |