diff options
| author | 2022-09-08 23:17:25 +0100 | |
|---|---|---|
| committer | 2022-09-16 16:59:04 +0100 | |
| commit | 1ba79145834dc5363d1aed95e7728562353ef755 (patch) | |
| tree | 0ee2979a0b790b978b1511dc66d14637c5c09a50 | |
| parent | send the list of pre-defined keywords along with each invoked rule (diff) | |
send the "no-match" error message in pure text format
Diffstat (limited to '')
| -rw-r--r-- | bot/exts/info/information.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/bot/exts/info/information.py b/bot/exts/info/information.py index 54fa62d31..9dd0a6d45 100644 --- a/bot/exts/info/information.py +++ b/bot/exts/info/information.py @@ -560,12 +560,9 @@ class Information(Cog): if not rules and not final_rules: # This would mean that we didn't find a match for the used keyword - rules_embed.description = ( + await ctx.send( f"There are currently no rules that correspond to keyword: {keyword}." - " If you think it should be added, please ask our admins and they'll take care of the rest." - ) - - await ctx.send(embed=rules_embed) + "If you think it should be added, please ask our admins and they'll take care of the rest.") return await LinePaginator.paginate(final_rules, ctx, rules_embed, max_lines=3) |