This is the code for the RPG Talk Discord bot.
- Docker
- Node
- Yarn
- Create a Discord app at https://discordapp.com/developers/applications/me
- Add a bot to it
cp .env.sample .env
- Edit the first two parameters in
.env
to match the Client ID and Bot Token from the Discord developer console
- Run
yarn
to install necessary dependencies - Add the bot to the guild you are using for testing (you need to be an admin on the guild):
a. Run
yarn oauth
to get the authorization URL for your bot b. Open the URL in your browser c. Select the guild (server) you wish to add the bot to
- Run
yarn start
to start the bot