Godel is a command line tool to easily clear Discord accounts with built-in security features to avoid account bans.
This project is under active development. For any bugs suport or bugs contact open a new issue.
- Clean Discord account messages and data - Delete your messages from DMs and guilds
- Enhanced DM clearing - Clear all DMs including closed conversations
- Multiple security profiles - Choose between conservative, default, or aggressive rate limiting
- Advanced rate limiting - Configurable delays and exponential backoff to avoid bans
- Random delays - Randomized timing to appear more human-like
- Retry logic - Automatic retry with exponential backoff on rate limit errors
- Multiple tokens support - Manage and switch between multiple Discord accounts
- Simple command line interface - Easy to use commands
- Fast and efficient operation - Optimized message deletion
- Cross-platform compatibility - Works on Windows, macOS, and Linux
- Modular architecture - Clean, maintainable code structure
Godel includes several safety mechanisms to reduce the risk of account bans:
- Rate Limiting: Configurable requests per second to avoid hitting Discord's rate limits
- Random Delays: Adds randomization between operations to appear more natural
- Exponential Backoff: Automatically backs off when rate limited
- Batch Processing: Processes messages in configurable batches with delays
- Security Profiles: Three pre-configured profiles for different risk tolerances
For detailed information, see SECURITY_GUIDE.md.
- Conservative (recommended): Slowest but safest, 1 request every 4 seconds
- Default: Balanced approach, 1 request every 2 seconds
- Aggressive: Faster but higher risk, 1 request per second
For custom configurations, see CUSTOM_CONFIG.md.
# Clone the repository
git clone https://github.com/Nevesto/godel.git
# Navigate to the project directory
cd godel
# Install dependencies
go get
# Build the project
go build# Register a new token
godel set-token [name] [token]
# Switch to a token
godel token-switch [name]
# Clear all DMs (including closed ones) with default security
godel clear-all-dms
# Clear all DMs with conservative security (slower, safer)
godel clear-all-dms --security conservative
# Clear all DMs with aggressive security (faster, riskier)
godel clear-all-dms --security aggressive
# Clear only specific direct message channel
godel clear-dm [channel_id]
# Clear all messages on a guild
godel clear-guild [guild_id]
# Get help
godel --helpThe project follows a modular architecture:
pkg/config: Security configuration and profilespkg/ratelimit: Rate limiting and backoff logicpkg/client: Enhanced Discord client with retry logicpkg/cleaner: Message deletion operationsauth: Authentication and token managementcmd: CLI commandsscripts: Legacy script wrappers
- Go version: go1.23.1 or higher
- Discord account token
- Fork the repository
- Create a new branch (
git checkout -b feature/your-feature) - Commit your changes (
git commit -m 'Add a feature') - Push to the branch (
git push origin feature/your-feature) - Open a Pull Request
Discord does not allow account automation. This tool is developed for educational purposes. Use at your own risk. The security features included in this tool are designed to reduce risk but cannot guarantee that your account will not be banned.
Distributed under the MIT License. See LICENSE file for more information.
