Seeing as this is closely related to [1], which I also commented on, and in the hopes that someone finds this useful regarding Discord's ownership of your data (where your messages remain even if you delete your account):
If you'd like to delete your Discord messages en masse, I made an open-source tool for that [2]. It leverages a fairly undocumented process using your Discord data package, providing a UI to explore it and choose what to export. The tool gives you step-by-step instructions and a CSV file that Discord expects when you contact their privacy team. It works across all channels in both servers and DMs, even those you no longer have access to.
If you'd like to delete your Discord messages en masse, I made an open-source tool for that [2]. It leverages a fairly undocumented process using your Discord data package, providing a UI to explore it and choose what to export. The tool gives you step-by-step instructions and a CSV file that Discord expects when you contact their privacy team. It works across all channels in both servers and DMs, even those you no longer have access to.
[1]: https://news.ycombinator.com/item?id=43276504
[2]: https://discorch.org