diff options
| author | 2021-07-23 17:01:27 +0100 | |
|---|---|---|
| committer | 2021-07-23 17:01:27 +0100 | |
| commit | 75a77e1e85ee9e4a7ea337564dcc25e327d94b8a (patch) | |
| tree | 43063573d90708504c641e6c4baacbaca3a360c2 | |
| parent | Delete reaction if error_message not deleted. (diff) | |
Fix typo causing NameError
| -rw-r--r-- | bot/exts/info/doc/_cog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/info/doc/_cog.py b/bot/exts/info/doc/_cog.py index c0cb4db29..25d69cbed 100644 --- a/bot/exts/info/doc/_cog.py +++ b/bot/exts/info/doc/_cog.py @@ -343,7 +343,7 @@ class DocCog(commands.Cog): await wait_for_deletion(error_message, (ctx.author.id,), timeout=NOT_FOUND_DELETE_DELAY) with suppress(discord.NotFound): - await message.clear_reaction(Emojis.trashcan) + await error_message.clear_reaction(Emojis.trashcan) if not (ctx.message.mentions or ctx.message.role_mentions): with suppress(discord.NotFound): |