Features • Installation • Usage • Configuration • Building • Security
- Selective Deletion - Delete your messages or all messages in a channel
- Smart Filtering - Filter by message content, date ranges, and more
- Multi-Channel Support - Works with DMs, server channels, and group chats
- Real-time Progress - Beautiful terminal UI with live progress tracking
- Efficient Processing - Optimized to handle large message volumes
- Customizable - Configure deletion criteria to suit your needs
- Bun runtime (v1.1.43 or later)
- Your Discord account token
# Clone the repository
git clone https://github.com/yourusername/erazer.git
cd erazer
# Install dependencies
bun install
# Build the binary
bun run buildbun run ./src/index.ts./dist/erazerERAZER guides you through an interactive setup process:
| Setting | Description |
|---|---|
| Discord Token | Your personal Discord authentication token |
| Channel Type | DM, server channel, or specific channel |
| Channel ID | ID of the target channel for message deletion |
| Deletion Mode | Your messages only, all messages, or content-based filtering |
| Content Filter | Optional text to match in messages for deletion |
| Date Range | Optional start and end dates for message filtering |
Build a standalone binary with:
# Install dependencies
bun install
# Build the optimized binary
bun run buildThe compiled binary will be available at ./dist/erazer.
- Never share your Discord token - It provides full access to your account
- Use responsibly - Follow Discord's Terms of Service
- Personal use only - This tool is intended for managing your own messages
Contributions are welcome! Please feel free to submit a Pull Request.
MIT
ERAZER is not affiliated with Discord Inc. Use at your own risk.
