diff options
| author | 2021-07-23 18:13:16 +0100 | |
|---|---|---|
| committer | 2021-07-23 18:13:16 +0100 | |
| commit | 9078afd4465838406fc5db8bba527f1b18f6d175 (patch) | |
| tree | d35fbd6b9851b95febba645b55fe936b19a889d4 | |
| parent | Remove extra line (diff) | |
Add comment
Co-authored-by: Bluenix <[email protected]>
Diffstat (limited to '')
| -rw-r--r-- | bot/exts/info/doc/_cog.py | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/bot/exts/info/doc/_cog.py b/bot/exts/info/doc/_cog.py index eebd39451..704884fd1 100644 --- a/bot/exts/info/doc/_cog.py +++ b/bot/exts/info/doc/_cog.py @@ -344,6 +344,7 @@ class DocCog(commands.Cog):                  with suppress(discord.NotFound):                      await error_message.clear_reaction(Emojis.trashcan) +                # Make sure that we won't cause a ghost-ping by deleting the message                  if not (ctx.message.mentions or ctx.message.role_mentions):                      with suppress(discord.NotFound):                          await ctx.message.delete() | 
