/deleteDiscordMessages

Undiscord - Delete all messages in a Discord channel or DM (Easy and fast) Bulk delete

Primary LanguageJavaScript

Undiscord - Delete all messages in a Discord channel or DM

⚠️ Any tool for deleting messages, including this one, could result in the termination of your account (see self-bots). Discord appears to have recently started terminating accounts using self-bots (thread). Use at your own risk.

  1. Install a browser extension for managing user scripts (skip if you already have one):

  2. Install Undiscord Install from OpenUserJS or Install from GreasyFork

  3. Open Discord in your browser (Not the App) and go to the Channel/Conversation you want to delete

  4. Click the Trash icon that was added in the top right corner

  5. Click on the blue buttons near Authorization, Author and Channel.
    (Optional: getting authToken, authorId, channelId and messageId manually)

  6. Click the START button.

Screenshot

I made this tool just for you ❤️ , it would be awesome if you could just click the ⭐️ Star button at the top!

If you have issues or just need help open a discussion here

A few extra generous people asked for this, so here you can buy me a coffee. Thank you! You'll be in my special list ^_^

* Looking for the old Copy/Paste version? here


Features

  • Fastest script out there, it auto adjusts the delay to be the fastest your internet and discords allows!
  • Easy interface with instructions
  • Respect discord API rate limits
  • Auto detect current authToken, authorId, channelId
  • It can delete a specific range of messages
  • It can delete only links or attached files
  • Comprehensive log of messages being deleted (with their content)
  • Hide private information for taking screenshots
  • Detects system messages and skips them like "You started a voice call"
  • You can use your computer and discord while it is running (unlike macro key scripts)
  • Start/stop whenever you want
  • Works with even thousands of messages

Originally from https://gist.github.com/victornpb/135f5b346dea4decfc8f63ad7d9cc182


About running code on your console

I don't recommend running code from random places you get on the internet. For that same reason, I deliberately choose to make it readable (that's why it is a bit lenthy). That way people can analyze it and understand what does it does before running it, and be sure that nothing sketchy is happening under the hood.


DO NOT SHARE YOUR authToken!

Sharing your authToken on the internet will give full access to your account! There are bots gathering credentials all over the internet. If you post your token by accident, LOGOUT from discord on that same browser you got that token imediately. Changing your password will make sure that you get logged out of every device. I advice that you turn on 2FA afterwards.

If you are unsure do not share screenshots, or copy paste logs on the internet.


DISCLAIMER: THE SOFTWARE AND ALL INFORMATION HERE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

By using any code or information provided here you are agreeing to all parts of the above Disclaimer.