I'm using PM2 as my deployment tool and ESLint as my linter.
Both config files can be found in the root directory of the project (ecosystem.config.cjs
& .eslintrc.json
)
stats
- Shows the bot's statistics (Uptime, ping)war_info
- Shows informations about the current warwar_statistics
- Shows statistics about the current warmain_orders
- Displays the war main orders
This project relies on the helldivers2-api
Node module built by myself. The code can be found here.
The current WarId is fetched from the Helldivers 2 API and stored in memory for 10 minutes, then it will be re-fetched.
Every Discord command is declared by creating a new DiscordCommandHandler
in the src/CommandHandler
.
Same for the Discord event handlers, which are declared by extending DiscordEventHandler
in the src/EventHandler
directory.
Please submit any PR you want to this project. Make sure ESLint is passing.
© Edouard Courty - 2024