Skip to content

Release v1.5.0

Choose a tag to compare

@github-actions github-actions released this 15 Dec 03:41
· 657 commits to main since this release

What's Changed

Added

  • Moderation Commands: Complete moderation system with /moderation command supporting timeout, warn, ban, kick, unban, purge, history, remove-warn, and list-bans subcommands
  • Moderation Bulk Operations: Support for moderating multiple users at once (up to 15 users) for timeout, warn, ban, kick, and unban actions with faster processing
  • Moderation History: View moderation history for individual users or entire server with pagination support
  • Moderation Logging: Comprehensive logging system with unique case IDs for all moderation actions
  • Moderation Auto-Escalation: Automatic timeout or kick based on warning thresholds (configurable)
  • Moderation DM Notifications: Users received direct messages when warned, timed out, banned, kicked, or unbanned
  • Moderation Bot Protection: Moderation commands prevented moderating bots to avoid breaking bot functionality
  • Warning System: Track and manage user warnings with automatic escalation to timeout or kick
  • Userinfo Warning Display: Warning count now appears in /userinfo command for users with moderation history
  • Userinfo Command: New /userinfo command to view detailed information about Discord users including account details, badges, roles, join date, timeout status, and current voice channel
  • Serverinfo Command: Added /serverinfo command to view comprehensive server information including member statistics, channel counts, server description, and boost level
  • Bot Statistics API: Public API endpoint /api/stats to get bot statistics including server count and user count
  • Webhook Handlers: Added webhook handlers for Buy Me a Coffee (/webhook/bmac) and crypto payments (/webhook/crypto)
  • Server Routes: Added API routes for authentication (/auth), payments (/api/payments), and supporter management (/api/supporters)

Changed

  • Core Payment System: Updated Core payment system to only accept one-time cryptocurrency payments. Subscriptions are no longer available, and all payments are processed as one-time purchases that never expire. Updated /core pricing and /core balance commands to reflect the new payment model
  • Minimum Payment Amount: Increased minimum payment amount from $1 to $10 for Core credit purchases
  • Command Documentation: Standardized all 25 command README files to consistent format with Overview, File Structure, Architecture, Usage Examples, Permissions Required, Key Features, and Dependencies sections

Fixed

  • Avatar Credit Breakdown: Restored credit deduction breakdown display in avatar generation success message. Users can now see how their Core credits were deducted (subscription vs bonus credits) after generating an avatar
  • Level-Up Notifications: Improved error handling and diagnostics for level-up message posting. Bot now provides better error messages when it cannot post to the configured level-up channel, helping identify permission issues and blocked channels
  • Payment Validation: Added minimum payment validation in crypto webhook to prevent credits from being granted for payments below $10
  • Moderation Unban Delay: Fixed delay pattern in handleUnban to match other moderation handlers, eliminating unnecessary 150ms latency at end of bulk unban operations
  • Schedule Role Test: Fixed midnight edge case in schedule-role test to handle time calculations correctly

Performance

  • Bot Statistics API: Improved response times by caching statistics for 24 hours

Security

  • Webhook Security: Enhanced webhook token verification to prevent security vulnerabilities

Key Features

  • Self-assignable roles through reactions
  • Temporary roles with auto-expiration
  • MongoDB integration with local file backup
  • Docker deployment support
  • Health monitoring and performance metrics

View Full Changelog

What's Changed

Full Changelog: v1.4.0...v1.5.0