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
16 lines
386 B
Plaintext
16 lines
386 B
Plaintext
# Discord Bot Configuration
|
|
DISCORD_TOKEN=your_dev_bot_token
|
|
CLIENT_ID=your_dev_client_id
|
|
|
|
# Supabase Configuration
|
|
SUPABASE_URL=your_dev_supabase_url
|
|
SUPABASE_KEY=your_dev_supabase_key
|
|
|
|
# Webhook Configuration (for match notifications)
|
|
WEBHOOK_SECRET=your_webhook_secret
|
|
|
|
# Channel Configuration
|
|
NOTIFICATION_CHANNEL_ID=your_notification_channel_id
|
|
|
|
# Environment
|
|
NODE_ENV=development |