Releases: Programador-jr/King
v6.0.0
🚀 King v6.0.0
Version v6.0.0 introduces Advanced Moderation Commands, Comprehensive AutoMod System, Enhanced Music Features, and Major System Architecture Improvements. This release focuses on professional moderation capabilities and improved bot stability.
This release represents a major milestone in adding enterprise-grade moderation and automation features to the bot.
✨ New Features
🛡️ Complete Moderation Suite
-
Moderation Commands:
ban- Ban users with detailed reasonskick- Expel users from servermute/timeout- Silence users temporarilyunmute- Remove timeout restrictionswarn- Issue warnings to usersunwarn- Remove specific warningswarnings- View user warning historyclearwarnings- Clear all user warningslock/unlock- Channel permission managementslowmode- Channel rate limitingpurge- Bulk message deletionunban- Remove user bans
-
Warning System with Persistent Storage
- Track and manage user warnings
- Progressive discipline system
- Exportable warning history
- Automatic actions based on warning count
-
Moderation Dashboard
- Modern web interface for moderator configuration
- Role-based access control
- Log configuration (channel or webhook)
- Real-time moderation statistics
🤖 AutoMod System (Full Featured)
-
Anti-Spam Protection
- Configurable message threshold and time window
- Automatic infractions tracking
- Progressive penalties
-
Anti-Links Filter
- Block external URL sharing
- Role-based bypass system
- Customizable enforcement
-
Anti-Invite Protection
- Detect and block Discord server invites
- Prevent server raiding
- Role exemptions
-
Anti-Banned Words System
- Custom word list per server
- Case-insensitive matching
- Progressive infractions
- Custom warning messages
-
Anti-New Accounts Protection
- Configurable minimum account age
- Automatic kick or quarantine
- Prevent alt accounts
-
Flexible Penalty System
- 3-tier progressive penalties
- Actions: None, Warn, Mute, Kick, Ban
- Customizable per rule
- Mute role assignment
-
AutoMod Logging
- Channel-based or webhook logging
- Custom message templates
- Variable support: {user}, {type}, {reason}, {guild}, {channel}
- Complete action history
🎵 Music System Enhancements
-
Song Statistics Tracking
- Caching system for performance
- Lavalink integration improvements
- Real-time statistics in now-playing
-
Improved Queue Management
- Fixed filter handling (default empty array)
- Better error recovery
- Enhanced queue display
-
Multiple Lavalink Nodes
- 7 pre-configured Lavalink servers
- Automatic failover
- Load balancing support
- v3 and v4 compatibility
📊 Ticket System Improvements
-
Category Support
- Automatic ticket organization
- Per-panel category configuration
- Optional category assignment
-
Enhanced Event Handling
- guildMemberAdd event for member joins
- Better modal submit processing
- Improved error handling
-
Better Logging
- Open/close ticket logging
- Webhook integration
- Comprehensive audit trail
💻 System Architecture
Dashboard Modernization
- Refactored bot data handling
- Improved template variables
- Better error handling with AlertSystem
- Enhanced UI responsiveness
Database Schema
- Expanded settings storage
- Warning system implementation
- AutoMod configuration storage
- Ticket management fields
Configuration Updates
- Support for moderation roles
- Log channel configuration
- AutoMod settings storage
- Enhanced DNS handling for MongoDB
Code Quality
- Fixed line endings (CRLF → LF)
- Improved error messages
- Better logging output
- Syntax validation on startup
🔧 What's Changed
New Commands
- feat: add various slash commands for moderation, music, queue management, and utility functions
- feat: implement complete moderation command set (ban, kick, mute, warn, etc.)
System Improvements
- feat: add song statistics handling and caching in Lavalink manager
- refactor: update default filters to empty array and improve filter handling
- build(deps): bump lodash from 4.17.23 to 4.18.1
- fix: MongoDB connection and DNS configuration
- build(deps): bump brace-expansion and ejs
UI/UX Enhancements
- cleanup: major dashboard cleanup and system updates
- feat: implement automod system and comprehensive dashboard improvements
- feat: add moderation commands for user management
- feat: update CodeQL workflow with modern actions and Node.js setup
Dashboard Additions
- New AutoMod configuration page
- Moderation settings interface
- Improved alert system
- Better form handling and validation
Infrastructure
- Enhanced error logging and debugging
- Improved GitHub Actions workflow
- Better project documentation
- Dependency security updates
📈 Performance Improvements
- Optimized Queries: Better database performance with proper indexing
- Caching System: Song statistics caching for faster responses
- Memory Efficiency: Improved event handling and cleanup
- Startup Time: Faster bot initialization
🔐 Security Enhancements
- Role-based Access Control: Granular permission management
- Moderation Bypass System: Role exemptions for AutoMod
- Webhook Validation: Proper webhook URL verification
- Input Sanitization: Better handling of user inputs
🌍 Breaking Changes
- Default filters changed from
['bassboost6', 'clear']to[](empty) - Prefix changed from
k!tok - EJS emoji updates for consistency
- Dashboard variable structure refactoring
📦 Dependencies Updated
- discord.js: Modern button/action row builders
- lodash: Bumped to 4.18.1 (security patch)
- ejs: Updated for template improvements
- mongoose: Enhanced with expanded schemas
🐛 Bug Fixes
- Fixed ephemeral flag usage (deprecated parameter → new flags system)
- Fixed MongoDB DNS configuration handling
- Fixed Lavalink manager initialization
- Fixed ticket modal submit handling
- Fixed AutoMod penaltycount tracking
- Fixed emoji rendering in embeds
📚 Documentation
- New moderation commands documentation
- AutoMod configuration guide
- Lavalink setup instructions
- Dashboard user guide updates
Full Changelog: v5.0.1...v6.0.0
v5.0.1
🚀 King v5.0.1
Version v5.0.1 introduces a comprehensive Ticket System to the King Discord Bot, bringing a complete dashboard management interface, modern UI overhaul, and enhanced security features. This release focuses on user interaction improvements and administrative capabilities.
This release represents a major milestone in adding professional ticket management capabilities to the bot.
✨ New Features
Ticket System
- Complete ticket management with open/close functionality
- Dashboard interface with statistics and history tracking
- Panel creation system with embed preview and customization
- Ticket commands for create, close, add, remove, and settings
- Message templates for automated logging and notifications
Dashboard Modernization
- Responsive design with Bootstrap 5 integration
- Modern UI components with consistent styling
- Alert system for user notifications
- Settings multiselect component for better UX
- Enhanced navigation and improved layouts
Security & Quality
- Extended security queries for Node.js applications
- Syntax validation for all JavaScript files
- Enhanced error handling throughout the system
What's Changed
- feat: implement complete ticket system with dashboard management by @Programador-jr in #72
Full Changelog: v5.0.0...v5.0.1
v5.0.0
🚀 King v5.0.0
Version v5.0.0 introduces a major update to the King Discord Bot, bringing structural improvements across the project, reorganized modules, and enhancements to the command system, music player, and dashboard.
This release represents a significant step forward in the bot's architecture and prepares the foundation for future features and improvements.
✨New Features
Music Player
- improvements to the music playback system
- better queue management
- increased player stability
Command System
- reorganization of the command structure
- improved integration between commands and events
- better internal organization
Dashboard
- structural improvements to the dashboard
- improved communication between the bot and dashboard
- groundwork for future administrative features
Security
- improvements to configuration management
- better protection of sensitive data
What's Changed
- Bump passport-oauth2 from 1.6.0 to 1.6.1 by @dependabot[bot] in #36
- Bump follow-redirects from 1.14.4 to 1.14.7 by @dependabot[bot] in #38
- Bump node-fetch from 3.0.0 to 3.1.1 by @dependabot[bot] in #39
- Bump follow-redirects from 1.14.7 to 1.14.8 by @dependabot[bot] in #40
- Bump simple-get from 3.1.0 to 3.1.1 by @dependabot[bot] in #41
- Bump minimist from 1.2.5 to 1.2.6 by @dependabot[bot] in #42
- feat(bot,dashboard): major project overhaul with command, player, das… by @Programador-jr in #53
- feat: refactor dashboard configuration handling and improve error res… by @Programador-jr in #54
- feat: add cookie file fallback and improve error handling in customYt… by @Programador-jr in #55
- feat(customYtDlp): enhance error handling and add support for cookie … by @Programador-jr in #56
- feat: refactor event handling to use 'clientReady' event and improve fallback mechanisms in customYtDlp by @Programador-jr in #57
- refactor: update music mix handlers to use Spotify playlists and remo… by @Programador-jr in #58
- feat: update dependencies and add ship command for user compatibility… by @Programador-jr in #59
- feat:add anonymous confession command and improvements to existing commands by @Programador-jr in #60
- feat(customYtDlp): enhance error handling for unavailable formats and add new format options by @Programador-jr in #61
- feat: remove custom speed and list commands, add filters command with interactive menu by @Programador-jr in #62
- feat: migrate from Enmap to MongoDB for settings and info storage by @Programador-jr in #63
- feat: add guild stat tracking and optimize voice events by @Programador-jr in #64
- feat: add lavalink event handler for music playback and interaction management by @Programador-jr in #65
- feat: enhance dashboard UI and improve text localization by @Programador-jr in #66
- feat:Improves settings normalization and mix default handling by @Programador-jr in #67
- feat: implement theme toggle and update styles for Discord and King themes by @Programador-jr in #68
- feat: add terms and privacy pages + theme system + YouTube as default mix by @Programador-jr in #69
Full Comparison
v5.0.0-rc
Major Improvements
- Full rework of the music playback flow, focused on stability and interaction reliability.
- Dashboard player and queue redesigned for a more app-like music experience.
- Playback controls on the dashboard are now more consistent (play/pause, previous, next, loop, shuffle, stop) with immediate feedback.
- Progress-based seek on the dashboard now provides more accurate and consistent time updates.
- Direct queue track selection from the dashboard now starts playback immediately.
Queue & Interaction Overhaul
- Queue pagination was rebuilt to update in the same message (no duplicate replies).
- Queue navigation is cleaner, with corrected numbering and improved readability.
- Button/select-menu handlers were fixed to eliminate interaction failures.
Lyrics & Search Quality
- Lyrics lookup was strengthened with API fallbacks to improve hit rate.
- Track title/artist normalization was improved to avoid misses on cases like “visualizer” versions.
- Better behavior on no-result scenarios, with more reliable user feedback.
Stability Fixes
- Fixed playback freezes and unexpected skips (especially in mix/queue flows).
- Improved playback event handling and error management to reduce runtime regressions.
- Important dashboard fixes (OAuth/callback/rendering) and broader app compatibility improvements.
v4.0.0
What's Changed
- big update by @Programador-jr in #20
- Updates by @Programador-jr in #22
- add .gitgnore by @Programador-jr in #23
- up by @Programador-jr in #24
- update .gitgnore by @Programador-jr in #25
- update by @Programador-jr in #26
- update by @Programador-jr in #27
- update by @Programador-jr in #28
- correção de bugs by @Programador-jr in #29
- Bump tar from 6.1.5 to 6.1.11 by @dependabot in #30
- Bump axios from 0.21.1 to 0.21.2 by @dependabot in #31
- Bump nth-check from 2.0.0 to 2.0.1 by @dependabot in #32
- fix by @Programador-jr in #33
- Merge pull request #33 from Programador-jr/master by @Programador-jr in #34
- Added discord v13 update and dashboard by @Programador-jr in #35
Full Changelog: v3.0.0...v4.0.0
Correções de bugs e logs adicionado
Merge pull request #19 from Programador-jr/updates added the logs for bot