Skip to content

Commit

Permalink
Merge pull request python-discord#881 from python-discord/help-channe…
Browse files Browse the repository at this point in the history
…ls-keep-dormant-invocation

Reverse deletion of `!dormant` invocation messages
  • Loading branch information
ikuyarihS authored Apr 14, 2020
2 parents 3d25c79 + ea81f3b commit 9a6ea1f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions bot/cogs/help_channels.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,6 @@ async def dormant_command(self, ctx: commands.Context) -> None:
with suppress(KeyError):
del self.help_channel_claimants[ctx.channel]

with suppress(discord.errors.NotFound):
log.trace("Deleting dormant invokation message.")
await ctx.message.delete()

with suppress(discord.errors.HTTPException, discord.errors.NotFound):
await self.reset_claimant_send_permission(ctx.channel)

Expand Down

0 comments on commit 9a6ea1f

Please sign in to comment.