Undiscord - Delete all messages in a Discord channel or DM
Version 5.2.5 - Maintained Fork
📍 This is a maintained fork of the original Undiscord project.
This fork exists to continue maintenance and updates for the community as the original project has become inactive.

⚠️ Any tool that automates actions on user accounts, including this one, could result in account termination. (see self-bots).
Use at your own risk! (discussion).
Installation
Install a UserScript Manager (if you don't have one):
Install Undiscord:
Usage
- Open Discord in your browser (not the desktop app)
- Go to the channel or DM you want to delete messages from
- Click the 🗑️ trash icon in the top toolbar
- Configure your settings (Author ID, Server ID, Channel ID)
- Click Delete to start the process

Support & Feedback
If you find this fork helpful, please ⭐ star this repository!
- Issues: Report bugs or request features in Issues
- Discussions: Ask questions or share feedback in Discussions
Credits
Originally created by victornpb - Original repository
Support the original author: Buy victornpb a coffee
⛔️ DO NOT SHARE YOUR AUTH TOKEN! ⛔️
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 post screenshots, or logs on the internet.
Security Concerns
Using third-party scripts means you trust that the script’s developer hasn’t inserted malicious functionality into the code and has secured it against attackers trying to do the same. You should never run code you don't trust.
Please read: what I'm doing to ensure this is safe for users.
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.