
:max_bytes(150000):strip_icc()/A1-DeleteaDiscordServer-annotated-1ac80897618d41b0a2b76de54d4cd5c9.jpg)
Deleting your Discord Server: Final Note.What happens once the Discord server has been deleted?.How can you tell if the Discord server was deleted?.


:max_bytes(150000):strip_icc()/A3-DeleteaDiscordServer-annotated-dfa58fc316ea41fba09b83d04c5fd41c.jpg)
I had to increase the timeout to 2000 otherise I would be rate limited. I grabbed it and smashed it into this script and it worked. The "token" in Local Storage wasnt there so I refreshed the page by typing (). replace ( /" /g, "" ) Ĭonst headers = clearMessages ( ) Īs mentioned you need to manually get the auth token. pop ( ) // remove this line to delete all messages of an user from a serverĬonst authToken = document. Learn more about bidirectional Unicode charactersĬonst server = "000000000000000000" // server id numberĬonst author = "000000000000000000" // user id numberĬonst channel = window. To review, open the file in an editor that reveals hidden Unicode characters. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. This script was based on the following scripts I think they may be NSFW channels but I haven't tested enough. I think there are some channels that this script won't work with. You can check if the messages have been deleted by using the search. Paste the modified script in the console and press enter. Press F12 in Chrome or Firefox to open the console. Replace the server id in the script with your server id.ĭo the same process for the author id by right clicking the avatar image. Open discord and right click on the server icon and click copy id. Replace the server and author ids with your own. Copy and paste the script to a file so you can change the server and author ids. Go to user settings > appearance in discord and enable Developer mode. This script uses discord search API and it will only delete messages of a chosen user. This script allow for user specific message deletion from an entire server or a single channel using the browser console.
