A multipurpose bot having many cool features.
Requires Node.js 20.19 or newer and MongoDB.
npm ci
copy .EXAMPLE.env .env
npm run startFill in the required Discord token and MongoDB connection values in .env before starting. Optional API keys enable the commands that use those external services.
Use npm run deploy to register guild slash commands, and npm run check to validate all JavaScript source files.
The old attack, block, shield, lootbox, and lootbox-grant commands (including aliases) and automatic seasonal games are disabled. Manual fh events games remain available without team rewards. fh tlb now shows a general Team Leaderboard, and team displays show points and membership.
To clear old teams, use the live deployment's mongopath environment variable or root .env. First preview, then stop the bot and apply:
node scripts/reset-teams.js
node scripts/reset-teams.js --applyThe script backs up complete team documents as BSON Extended JSON under the Git-ignored logs/team-backups/ directory before deleting the captured IDs. It clears memberships, scores, and event inventories with those teams; it does not modify coin balances or other collections. Keep the backup private. Deploy this code and restart the bot to disable the old commands and scheduler. The reset is explicit and never runs automatically on startup.
- Hrishikesh
⤷ Discord
⤷ GitHub
- Dauntless
⤷ Discord
⤷ GitHub
- Fellintron
⤷ Discord
⤷ GitHub