fix(shard): 🐛 Not found when the propagated message is manually deleted and then the original one does too.
This commit is contained in:
@@ -460,8 +460,12 @@ class Calls(base.Cog):
|
||||
bot_token=constants.TOKEN,
|
||||
)
|
||||
|
||||
try:
|
||||
await webhook.delete_message(propagation_id)
|
||||
|
||||
except discord.errors.NotFound:
|
||||
pass
|
||||
|
||||
@commands.Cog.listener()
|
||||
async def on_raw_message_edit(self, payload: discord.RawMessageUpdateEvent) -> None:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user