v1.2.11: Add tournaments command with filtering and improve error handling

Features:
- Add /tournaments command with status and game filters
- Add tournament API integration to PlayerService
- Add beautiful tournament embed builders with prize pools
- Protect sync-games from overwriting manual customizations
- Improve error handling with proper MessageFlags

Changes:
- Add getTournamentsData() and getTournamentData() to PlayerService
- Add tournament command handler with pagination support
- Add tournament embed builders with rich formatting
- Update deployment docs for v1.2.10 features
- Add issue tracker documentation
- Add tournament testing script
- Fix ephemeral flags throughout CommandHandler
- Improve permission checks with PermissionFlagsBits

Version: 1.2.11
This commit is contained in:
VinceC
2025-10-02 06:24:54 -05:00
parent 546127f91c
commit dd8aa456d9
11 changed files with 502 additions and 60 deletions

View File

@@ -1,8 +1,30 @@
# 🚀 VRBattles Discord Bot - Deployment Guide
## 📦 **Latest Version: v1.2.7**
## 📦 **Latest Version: v1.2.10**
### **What's New in v1.2.7:**
### **What's New in v1.2.10:**
- ✅ MAJOR FIX: Tournament status filter now works correctly and permanently
- ✅ Fixed sync-games script overwriting tournament status choices
- ✅ Tournament status uses actual API values (Published, In-progress, Ended)
- ✅ Excluded Unpublished status (admin-only tournaments)
- ✅ Protected manual choice customizations from future overwrites
- ✅ Added emojis to status filter choices for better UX
### **Previous in v1.2.9:**
- ✅ FIXED: Tournament status filter now works correctly
- ✅ Tournament status filter uses proper values (Published, In-progress, Ended)
- ✅ Removed Unpublished status from filter options
- ✅ Added emojis to status filter choices for better UX
### **Previous in v1.2.8:**
- ✅ NEW: `/tournaments` command with beautiful formatting
- ✅ Filter tournaments by status (Published, In-progress, Ended, Unpublished)
- ✅ Filter tournaments by game (VAIL, Echo Arena, Blacktop Hoops, etc.)
- ✅ Smart date formatting with relative times
- ✅ Rich embeds with prize pools, entry fees, and team sizes
- ✅ Enhanced PlayerService with tournaments API integration
### **Previous in v1.2.7:**
- ✅ Fixed Docker multi-platform build (x86_64 + ARM64)
- ✅ Resolved "exec format error" on Coolify deployment
- ✅ Enhanced deployment script with buildx support
@@ -18,7 +40,7 @@
### **Docker Images Available:**
```
far54/vrbattles-discord-bot:latest (always current)
far54/vrbattles-discord-bot:v1.2.7 (specific version)
far54/vrbattles-discord-bot:v1.2.10 (specific version)
```
### **Multi-Platform Support:**
@@ -63,6 +85,7 @@ NODE_ENV=production
- `/finduser` - Search players (9 game dropdown)
- `/findteam` - Search teams (9 game dropdown)
- `/matchhistory` - View match history (optional game filter)
- `/tournaments` - **NEW!** View all tournaments with filters
- `/subscribe` - Admin: Subscribe to game notifications
- `/unsubscribe` - Admin: Remove game subscriptions
- `/list_subscriptions` - Admin: View active subscriptions