fix(shard): 🐛 Not found when the propagated message is manually deleted and then the original one does too.

This commit is contained in:
2025-03-16 11:25:58 -03:00
parent 5c4248c749
commit 87ffc4644b
+5 -1
View File
@@ -460,7 +460,11 @@ class Calls(base.Cog):
bot_token=constants.TOKEN, bot_token=constants.TOKEN,
) )
await webhook.delete_message(propagation_id) try:
await webhook.delete_message(propagation_id)
except discord.errors.NotFound:
pass
@commands.Cog.listener() @commands.Cog.listener()
async def on_raw_message_edit(self, payload: discord.RawMessageUpdateEvent) -> None: async def on_raw_message_edit(self, payload: discord.RawMessageUpdateEvent) -> None: