Releases: terminalskid/DCleaner
Releases · terminalskid/DCleaner
v1.0.0
Full Changelog: https://github.com/terminalskid/DCleaner/commits/v1.0.0
Changelog - Advanced Edition
Major Improvements
🎯 New Commands
/dhelp- Comprehensive help system with guides/dsetup- Interactive setup wizard for first-time users/dpreview- Preview what would be deleted (safe mode)/dstats- Detailed server statistics/dconfig- Full configuration management:view- View current settingsdryrun- Toggle preview modeadd-rule- Add deletion rulesremove-rule- Remove deletion ruleswhitelist- Manage protected channels
🛡️ Safety Enhancements
- Confirmation prompts before destructive operations
- Dry-run mode toggleable via command
- Whitelist management via commands
- Better error handling with user-friendly messages
- Rate limit protection with configurable delays
🎨 User Experience
- Rich embeds for all commands
- Interactive buttons for confirmations
- Detailed statistics with visual formatting
- Help system with step-by-step guides
- Setup wizard for non-technical users
⚙️ Configuration
- JSON configuration file (
config.json) support - Automatic config saving after changes
- Command-based configuration (no code editing needed)
- Persistent settings across restarts
🐍 Python Version
- Complete Python implementation (
bot.py) - Identical features to JavaScript version
- discord.py 2.3+ support
- Same command structure
🐛 Bug Fixes
- Fixed environment variable handling (TOKEN/DISCORD_TOKEN)
- Fixed case-sensitive channel name matching
- Fixed permission checking
- Fixed error handling in all commands
- Fixed rate limiting issues
- Fixed interaction timeout issues
📊 Advanced Features
- Age-based deletion (delete channels older than X days)
- Category-based filtering
- Multiple rule types (contains, starts with, ends with)
- Whitelist by channel or category
- Detailed logging with timestamps
- Statistics tracking
📝 Documentation
- Comprehensive README with examples
- Quick start guide for non-technical users
- Troubleshooting section
- FAQ section
- Configuration examples
🔧 Technical Improvements
- Better code organization
- Improved error messages
- Enhanced logging system
- Configuration validation
- Type safety improvements
- Performance optimizations
Migration Guide
From Basic to Advanced Edition
- Backup your configuration (if you had custom rules)
- Update dependencies:
npm installorpip install -r requirements.txt - Run the bot - it will create
config.jsonautomatically - Use
/dsetupto configure via the wizard - Use
/dpreviewto test before cleaning
Configuration Migration
Old inline configuration is now in config.json. The bot will:
- Load from
config.jsonif it exists - Fall back to defaults if not
- Save changes automatically when using commands
Breaking Changes
None! The advanced edition is fully backward compatible.
Known Issues
None currently. Report issues on GitHub.
Future Plans
- Scheduled cleanup (cron-like)
- Multi-server configuration
- Backup/restore functionality
- Web dashboard (optional)
- More rule types
- Integration with other bots