Script to delete all messages of a user sent in a specific server.
-
Get your user and server id
-
Get your authorization token (DO NOT SHARE IT)
-
Go to the discord webclient and sign in
-
Type
javascript:in the URL bar and copy the followingprompt("Your discord authToken", document.body.appendChild(document.createElement`iframe`).contentWindow.localStorage.token.replace(/"/g, ""));
-
-
Fill out the user config at the top the script
# --- USER CONFIG --- authToken = "" userId = "" serverId = "" # -------------------
-
To start the script type
python discorddelete.py
-
pip install colorama requests