This script allows you to delete all your direct messages (DMs) on Discord using data retrieved through a data request to Discord. It fetches the IDs of your sent messages and deletes them automatically.
5. Select "Messages" and click on **Request Data**.
![Request Data](imgs/3.png)
6. Discord will send you a download link via email once your data is ready. This may take several days.
Once you receive and download your data, you will find a file containing all the messages you have sent, including their IDs. This file will be used by the script to delete your messages.
## Setting Up the Project
### Prerequisites
- [Node.js](https://nodejs.org/en/) installed on your machine.
- [Yarn](https://classic.yarnpkg.com/en/docs/install) installed to manage dependencies.
-`npm i -g yarn`
### Installation
1. Clone this repository or download the project files to your machine: