Skip to content

Commit

Permalink
Merge pull request #82 from trag1c/fix-edit-in-closed-thread
Browse files Browse the repository at this point in the history
fix: allow delete-button msg update to silently fail
  • Loading branch information
mitchellh authored Dec 29, 2024
2 parents 8da3c36 + 3c64ba0 commit 1bf6f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/features/entity_mentions.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ async def handle_entities(message: Message) -> None:
view=DeleteMention(message, len(entities)),
)
await asyncio.sleep(30)
with suppress(discord.NotFound):
with suppress(discord.NotFound, discord.HTTPException):
await sent_message.edit(view=None)


Expand Down

0 comments on commit 1bf6f44

Please sign in to comment.