Replies: 1 comment 3 replies
-
|
If you are still able to visit the cdn link and your file still exists, this is against the law and you should send Discord a request to remove it. But usually, if you delete a message that contains uploaded files, no matter what they are, they are usually inaccessible after that. I have tried many times to access these after message deletion, and they are never accessible. Can you show me a file that is still accessible publicly after you deleted a message that contained the attachment? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
There is an issue with how discord handles file attachments that causes them to stay on the cdn permanently if the message with said attachment got deleted. As for now the only known way to prevent that is to first delete attachments from the message, which would in turn cause them to be scheduled for deletion from the cdn.
It would be nice if this script could first delete the attachments that way before deleting the messages themselves. Only two requests are needed, first is to edit the message to add any text if it is missing some (
{"content":"foobar"}for example), and another one is to delete the attachments ({"attachments":[]})Beta Was this translation helpful? Give feedback.
All reactions