Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

ShredCord

A lightweight, standalone Discord message purger and channel toolkit designed to run directly inside Discord's DevTools console. No extensions, userscripts, or third-party dependencies required.


How to Run

Option A: Discord Web (Easiest)

  1. Open Discord in your browser (discord.com/app).
  2. Open Developer Tools by pressing Ctrl + Shift + I (or F12).
  3. Click the Console tab.
  4. Copy all code from index.js, paste it into the console, and press Enter.
  5. Click the [SC] PURGER button at the bottom-right corner to open the control panel.

Option B: Discord Desktop App

  1. Enable DevTools in Discord Desktop:
    • Press Win + R, enter %appdata%\discord\settings.json, and open it with a text editor.
    • Add "DANGEROUS_ENABLE_DEVTOOLS_ONLY_ENABLE_IF_YOU_KNOW_WHAT_YOURE_DOING": true inside the JSON object, then save.
    • Restart Discord.
  2. Press Ctrl + Shift + I inside Discord to open DevTools.
  3. Go to the Console tab, paste index.js, and press Enter.

Quick Usage Guide

Once the panel is open:

  1. Resolve Token: Click AUTO next to the Discord Token field. ShredCord will grab your active session token directly from client memory.
  2. Set Target: Open the text channel or DM you want to clear, then click AUTO next to Channel ID.
  3. Filter Author: Click ME to automatically target only your own messages (recommended), or leave blank to scan all authors if you have moderation permissions.
  4. Adjust Pace & Filters: Set your preferred delay (750ms default recommended) and optional date/content filters.
  5. Start Purging: Click Start Purge. Progress and real-time logs will display in the panel and console.

Features

  • Dual-Engine Purge: Searches messages via Discord's indexing API and automatically falls back to direct channel history scanning if the search endpoint is unavailable.
  • Live Deletion Logger: Uses a DOM MutationObserver to intercept and display deleted messages before they vanish from your chat window.
  • Ghost Ping Alerts: Tracks mentions that get deleted immediately and displays a desktop-style toast notification.
  • Channel Archiver: Exports messages from any channel into clean HTML, structured JSON, or plain TXT files.
  • Session-Only Memory: Never saves, transmits, or logs tokens to any external server. All network requests go directly to Discord's official API (discord.com/api/v10).

Window Controls

  • Toggle Button ([SC] PURGER): Floating button at the bottom-right opens or minimizes the control panel.
  • Minimize (_ / +): Collapses the window into a small status bar showing live purge progress. Double-clicking the header also toggles minimize.
  • Close (×): Closes the interface without stopping any active background purge.
  • Drag Handle: Click and drag the header bar to place the panel anywhere on your screen. Viewport clamping prevents it from going off-screen.

Safety Notes

  • Rate Limits: Keep the delay slider at 750ms or higher to stay within Discord's normal rate-limit thresholds.
  • Token Safety: Your token grants full access to your account. Never paste untrusted scripts or share your token with anyone.

About

Minimalist, client-side Discord message purger & channel toolkit running in DevTools console.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages