Skip to content

Discord cleanup tool: purge servers, friends, DMs with whitelist support.

License

Notifications You must be signed in to change notification settings

AxthonyV/AccountPurger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Account Purger

Python License Platform


A powerful Discord account cleanup tool for mass guild leaving, friend removal, and data deletion

FeaturesInstallationUsageConfigurationSupport


Preview

✨ Features

  • Guild purge: Leave or delete servers with owner-guild protection.
  • DM purge: Bulk delete direct message channels.
  • Friends purge: Remove friends with whitelist support.
  • OAuth revoke: Remove app tokens and user connections.
  • Threads & HTTP proxies: Parallel processing with --threads; proxies from input/proxies.txt by default or override with --proxy.

Installation

# Clone the repository
git clone https://github.com/AxthonyV/AccountPurger.git

# Navigate to project directory
cd AccountPurger

# Install dependencies
pip install -r requirements.txt

💻 Usage

Basic Usage

python purger.py

The program will automatically prompt you for your Discord token.

Advanced Usage

# With specific arguments
python purger.py --token "YOUR_TOKEN" --threads 10 --proxy "http://127.0.0.1:8080"

# View available options
python purger.py --help

# Arguments:
# --token, -t     Discord token (if not provided, will be prompted)
# --threads, -th  Number of concurrent threads (default: 5)
# --proxy, -p     HTTP proxy or 'none' (default: random from proxies.txt)
# --protect-owned-guilds, -pg  Protect owned guilds (1=yes, 0=no, default: 1)

⚙️ Configuration

The program automatically creates the input/ folder with the following files:

  • friends_whitelist.txt - Friend IDs to keep
  • guild_whitelist.txt - Guild IDs to keep
  • proxies.txt - Proxy servers to use

The files include examples and comments for easy configuration.

🔧 Troubleshooting

Common Error: "401: Unauthorized"

Your token has expired or is invalid. Get a new one:

// In Discord Web (F12 → Console)
copy(JSON.parse(localStorage.getItem('token')).token);

🤝 Support

Need help? Found a bug? Have a feature request?

  • 📫 Open an issue on GitHub
  • 🌟 Star the repository if you find it useful
  • 🔄 Fork and contribute to the project

👨‍💻 Author

AxthonyV

AxthonyV

⚠️ Disclaimer

This tool is for educational purposes only. Use responsibly and in accordance with Discord's terms of service.

About

Discord cleanup tool: purge servers, friends, DMs with whitelist support.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages