diff options
| author | 2022-09-18 18:01:44 +0100 | |
|---|---|---|
| committer | 2022-09-18 18:01:44 +0100 | |
| commit | 4d33f8ee7fcac5ffbc6957da5ac103268fcb30e3 (patch) | |
| tree | 7c2b52c53657ab7faf869f5ae6c5ba9ed55e93c9 | |
| parent | rename pick to rule_number (diff) | |
remove unreachable code
Diffstat (limited to '')
| -rw-r--r-- | bot/exts/info/information.py | 8 | 
1 files changed, 0 insertions, 8 deletions
| diff --git a/bot/exts/info/information.py b/bot/exts/info/information.py index c9ea025ed..a0674f758 100644 --- a/bot/exts/info/information.py +++ b/bot/exts/info/information.py @@ -575,14 +575,6 @@ class Information(Cog):                      final_rule_numbers.append(rule_number + 1)                      break -        if not rule_numbers and not final_rule_numbers: -            # This would mean that only keywords where used and no match for them was found -            await ctx.send( -                f"There are currently no rules that correspond to keywords: **{', '.join(keywords)}**.\n" -                f"If you think it should be added, please suggest it in either " -                f"<#{constants.Channels.meta}> or <#{constants.Channels.dev_contrib}>") -            return -          final_rules = []          final_rule_numbers.sort()          final_rule_numbers = set(final_rule_numbers) | 
