* health check
* Update Dockerfile
* simplifying the deployment
* Update Bot.js
makes the find team command public
* test (#9)
* Dev (#7)
* health check
* Update Dockerfile
* simplifying the deployment
* Dev (#8)
* health check
* Update Dockerfile
* simplifying the deployment
* Update Bot.js
makes the find team command public
* Update PlayerService.js
* massive update????
could break stuff
* Update Bot.js
update
* health check
* Update Dockerfile
* simplifying the deployment
* Update Bot.js
makes the find team command public
* test (#9)
* Dev (#7)
* health check
* Update Dockerfile
* simplifying the deployment
* Dev (#8)
* health check
* Update Dockerfile
* simplifying the deployment
* Update Bot.js
makes the find team command public
* Update PlayerService.js
# VRBattles Bot Updates - March 2024
## Command Improvements
### Find Team Command (`/findteam`)
- 🔄 Restructured command to require game selection before team name
- 🖼️ Added VR Battles image as the main embed image
- 🧹 Removed all buttons for cleaner display
- 📊 Implemented game mode sorting:
- Priority order: Squads > Duo > Solo
- Secondary sort by creation date (newest first)
- 🎨 Added game mode icons:
- Squads: 🎮
- Duo: 🎯
- Solo: ⚔️
- 📝 Condensed stats display format:
- M: matches
- W: wins
- L: losses
- WR: win rate
- 👥 Made all team search results visible to everyone in the channel
### Find User Command (`/finduser`)
- 🔄 Restructured command to require game selection before username
- 🖼️ Added VR Battles image as the main embed image
- 🔍 Enhanced user search results:
- Shows basic profile info even when no game stats are found
- Displays user's avatar, bio, level, XP, and other profile details
- Indicates if user is on a team but hasn't played matches
- 🔵 Simplified button layout:
- Removed Discord invite button
- Kept only the "View Profile" button
- 💬 Improved status messages:
- Clear indication when user exists but hasn't played selected game
- Shows team membership status for the selected game
Team Search Improvements:
Added required game selection before team name input
Added VR Battles image as the main embed image
Removed buttons for cleaner display
Added sorting by game mode (Squads > Duo > Solo)
Made team display more compact with icons and shortened stats
Added SQL injection protection and input sanitization
User Search Improvements:
Made game selection required before username input
Added VR Battles image as the main embed image
Added better user status messages:
played
Security Enhancements:
Added input validation and sanitization at multiple levels
Limited input lengths to prevent buffer overflow
Added proper error handling and logging
Implemented safe API calls with timeouts and validation
Added protection against SQL injection
Code Organization:
Improved error messages for better user feedback
Added comprehensive logging for monitoring
Made responses visible to everyone in the channel
Cleaned up code structure and removed redundant parts
Development Environment:
Set up proper development configuration
Added environment variable management
Improved command deployment process