This project uses Discord.js to create a Discord bot to facilitate playing the City of Mist TTRPG by Son of Oak Game Studio.
- Clone this repo.
- Run
npm install
- Create a file called
config.json
in the directory. - Write the Discord Bot token inside it as follows:
- If you don't have one, get a token at the Discord Developer Portal.
{
"token": "<insert token here>"
"guildId": "<insert ID of test server here>"
"clientId": "<insert Discord Dev Portal ID here>"
}
- Run
npm deploy-commands
ornode deploy-commands.js
at the root.- This is used to register the slash commands.
- You only need to do this once after you change or add a command.
- Run
npm start
, ornode .
when at the root of the repo. - The bot should be working now.
- Display Core Moves
- Display the other player moves
- Group moves by type and page
- Show different types of moves depending on the command
- Immediately look up a move
- Show info for each theme
- Simple 2d6 + number dice roller
- Try to use those fancy Discord features
- Embeds with buttons for displaying moves
- Maybe add a way to track characters