Source code for Stormbound-Kitty.
The site runs with Next. Therefore, it uses Node.js (version 14). It is recommended to install nvm (or nvm-windows) to manage Node versions, but it’s not mandatory, as long as Node 14 is installed on the machine.
Then run the following commands to install the local dependencies and start the development server:
npm install
npm start
Unit tests are authored and ran with Jest, while end-to-end tests are executed via Cypress.
npm test
npx cypress open
For the bot to work properly on a Discord server, it requires:
- A #trivia channel for the
!trivia
command. - A #stormbot channel for all the other commands.
- Ideally some of the roles: Diamond, Platinum, Gold, Silver, Bronze, Iron, Starter, Swarm, Shadowfen, Ironclad, Winter, Neutral, Tournamentee, Artist and Streambound.