A discord bot for the TT server that handles Squad related tasks. This project depends on a backend process that aggregates stats and shits them into a redis database. This bot is simply the discord implementation that consumes the data from the redis database. The companion project for this bot can be found here TT Stats Updater
- Display leaderboard stats from the squad server in a paginated list
- Show individual player stats from the squad server
/ping
- Check that the bot is online and working/leaderboard
- Display a squad player leaderboard in a detailed, paginated embed message. The response for this command is ephemeral/stats
- Display a squad player's stats in a detail embed message. The response for this command is sent publicly.
- Node.js 17 or later (refer to the nvmrc file for the exact version)
- A redis database that contains stats data (preferrably the one from the companion project here)
- Clone this project
- cd into the project root and
nvm use && npm install
- For production, you will want to build the project by running npm run build
- Start the process for production by running start:prod (after building it in the previous step)