74 Commits

Author SHA1 Message Date
VinceC
d0dc7bf4ef Merge git-main into main: v1.2.11 tournament features 2025-10-02 06:32:02 -05:00
VinceC
dd8aa456d9 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
2025-10-02 06:24:54 -05:00
VinceC
546127f91c Merge branch 'main' into git-main 2025-07-13 04:26:54 -05:00
VinceC
a8e836fd5b Add help system, deployment docs, and improve setup
Introduces a new interactive help command with button navigation, adds a detailed DEPLOYMENT.md guide, and improves server setup validation and error handling. Updates command registration to include all 9 games, adds version reporting, enhances Docker deployment with a multi-platform script, and removes local .env files from the repo. Also refactors bot startup for better diagnostics and graceful shutdown.
2025-07-13 04:00:39 -05:00
VinceC
3453be6947 Dev (#12)
* 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
2025-07-07 21:38:19 -05:00
VinceC
0c86148835 update for all the badges (#10)
* 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
2025-01-20 02:28:21 -06:00
6b904d765d Merges pull request #2
Dev
2025-01-04 18:41:25 +00:00
VinceC
06742518d6 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
2025-01-04 12:37:54 -06:00
VinceC
93d57b5aa7 Dev (#8)
* health check

* Update Dockerfile

* simplifying the deployment

* Update Bot.js

makes the find team command public
2025-01-04 12:36:40 -06:00
VinceC
5b0dd201ca Update Bot.js
makes the find team command public
2025-01-04 12:36:08 -06:00
VinceC
c9c52e92c0 Dev (#7)
* health check

* Update Dockerfile

* simplifying the deployment
2025-01-04 12:05:32 -06:00
VinceC
f3b6625527 simplifying the deployment 2025-01-04 12:04:49 -06:00
VinceC
667dc6eddb Update Dockerfile 2025-01-04 11:57:50 -06:00
VinceC
8c7c3fc257 health check 2025-01-04 11:53:48 -06:00
VinceC
dd01048ec6 Merge pull request #5 from Fragmint-git/dev
docker file update
2025-01-04 11:47:48 -06:00
VinceC
fb718c47f0 docker file update 2025-01-04 11:45:46 -06:00
VinceC
e86e5f2778 env update 2025-01-04 11:36:27 -06:00
cd5b0b580c Merges pull request #1
Dev
2025-01-04 17:34:47 +00:00
VinceC
965ec1aacb Merge pull request #4 from Fragmint-git/dev
summary
2025-01-04 11:28:12 -06:00
VinceC
93679f8828 summary
small update for bot output
2025-01-04 11:22:29 -06:00
VinceC
d8ee90b331 Merge pull request #3 from Fragmint-git/dev
Update CommandHandler.js
2025-01-04 11:17:20 -06:00
VinceC
584fba7aa0 Update CommandHandler.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
2025-01-04 11:16:49 -06:00
VinceC
5b1afc480c Merge pull request #2 from Fragmint-git/dev
# VRBattles Bot 1/4/25 Update
2025-01-04 09:44:18 -06:00
VinceC
7e4354e37b Jan 2025 Update
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
2025-01-04 08:59:51 -06:00
VinceC
5a836a537f Merge pull request #1 from Fragmint-git/team-search
feature team search
2025-01-04 06:09:47 -06:00
VinceC
8a0f8f1137 feature team search 2025-01-04 05:26:57 -06:00
VinceC
75a3b3b52d show when stats are requested 2025-01-01 10:05:05 -06:00
VinceC
1ad3a11bd3 Update embedBuilders.js
match request update
2025-01-01 09:58:50 -06:00
VinceC
35e58972a8 fix: correct team size display to prevent doubling 2024-11-29 04:37:34 -06:00
VinceC
426bdaceb7 fix: improve match notification handling and embed display 2024-11-29 04:34:55 -06:00
VinceC
3651537c1f feat: update match request embed format and notification handling 2024-11-29 04:27:09 -06:00
VinceC
03c612b351 feat: Update match notification format to be more concise 2024-11-29 04:06:56 -06:00
VinceC
beab9a514a feat: Complete match notification service implementation 2024-11-29 03:42:21 -06:00
VinceC
15082d03c7 fix: Use consistent lowercase for embedBuilders.js 2024-11-28 05:19:08 -06:00
VinceC
1956c5ee3d feat: Update match notification system and component builders 2024-11-28 05:15:11 -06:00
VinceC
119891730d match request update 2024-11-28 04:59:46 -06:00
VinceC
26a5edeb4f all commands and buttons are working 2024-11-28 04:47:58 -06:00
VinceC
92c1fa3a9e server registration and subscription 2024-11-28 02:53:42 -06:00
VinceC
ad6d98d501 Notification subscriptions 2024-11-24 06:04:35 -06:00
VinceC
3b10e77c82 supabase setup 2024-11-24 03:49:23 -06:00
VinceC
c62c1f81e4 Update deploy-commands.js 2024-11-24 03:25:10 -06:00
VinceC
1cee965d00 subscribe update 2024-11-24 03:15:04 -06:00
VinceC
12722b6fd4 update game urls and embed info 2024-11-24 01:35:04 -06:00
VinceC
82354dcfea Update componentBuilders.js
button update
2024-11-24 01:27:14 -06:00
VinceC
049420e8e5 Update package.json 2024-11-23 22:56:53 -06:00
VinceC
5564d8ab21 Create testWebhook.js
testing webhook
2024-11-23 22:54:15 -06:00
VinceC
530ecc8e17 November Update
A variety of bot updates, verify setup, and match request info
2024-11-23 22:25:10 -06:00
VinceC
bb06fb7d9b join discord button 2024-11-07 17:47:37 -06:00
VinceC
2b577c5be1 new commands update for the bot 2024-11-07 17:28:00 -06:00
VinceC
7b431e0406 Update index.js 2024-10-18 10:30:18 -05:00