Skip to content

Releases: terminalskid/DCleaner

v1.0.0

11 Jan 16:28

Choose a tag to compare

Full Changelog: https://github.com/terminalskid/DCleaner/commits/v1.0.0

Changelog - Advanced Edition

Major Improvements

🎯 New Commands

  1. /dhelp - Comprehensive help system with guides
  2. /dsetup - Interactive setup wizard for first-time users
  3. /dpreview - Preview what would be deleted (safe mode)
  4. /dstats - Detailed server statistics
  5. /dconfig - Full configuration management:
    • view - View current settings
    • dryrun - Toggle preview mode
    • add-rule - Add deletion rules
    • remove-rule - Remove deletion rules
    • whitelist - 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

  1. Backup your configuration (if you had custom rules)
  2. Update dependencies: npm install or pip install -r requirements.txt
  3. Run the bot - it will create config.json automatically
  4. Use /dsetup to configure via the wizard
  5. Use /dpreview to test before cleaning

Configuration Migration

Old inline configuration is now in config.json. The bot will:

  • Load from config.json if 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