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.
This commit is contained in:
28
package.json
28
package.json
@@ -1,18 +1,26 @@
|
||||
{
|
||||
"name": "discord-bot",
|
||||
"version": "1.0.0",
|
||||
"name": "vrbattles-discord-bot",
|
||||
"version": "1.2.7",
|
||||
"description": "VRBattles Discord Bot - Player search, team lookup, match notifications, and more for VR gaming communities",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "node -r dotenv/config index.js dotenv_config_path=.env.production",
|
||||
"dev": "nodemon -r dotenv/config index.js dotenv_config_path=.env.development",
|
||||
"deploy-commands": "node -r dotenv/config deploy-commands.js dotenv_config_path=.env.production",
|
||||
"deploy-commands:dev": "node -r dotenv/config deploy-commands.js dotenv_config_path=.env.development",
|
||||
"test:webhook": "node -r dotenv/config src/test/testWebhook.js dotenv_config_path=.env.test"
|
||||
"start": "node -r dotenv/config index.js",
|
||||
"start:docker": "node index.js",
|
||||
"dev": "nodemon -r dotenv/config index.js",
|
||||
"deploy-commands": "node -r dotenv/config deploy-commands.js",
|
||||
"sync-games": "node -r dotenv/config src/scripts/syncGameChoices.js && node -r dotenv/config deploy-commands.js",
|
||||
"deploy": "./scripts/deploy.sh",
|
||||
"test:webhook": "node -r dotenv/config src/test/testWebhook.js",
|
||||
"test:supabase": "node src/scripts/testSupabaseConnection.js",
|
||||
"generate:invite": "node src/scripts/generateInvite.js"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"keywords": ["discord", "bot", "vr", "gaming", "vrbattles", "vrchat", "vail"],
|
||||
"author": "VRBattles",
|
||||
"license": "ISC",
|
||||
"description": "",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/your-repo/vrbattles-discord-bot"
|
||||
},
|
||||
"dependencies": {
|
||||
"@supabase/supabase-js": "^2.46.1",
|
||||
"axios": "^1.6.0",
|
||||
|
||||
Reference in New Issue
Block a user