yarn installCreate .env file in root with content:
DISCORD_TOKEN="<Discord bot token>"
API_URL="http://localhost:3000"
# Login to API (JWT signing)
PASSWORDAPIBOT="supersecretpassword"Notes:
- API_URL may not end in '/'
- PASSWORDAPIBOT has to be the same value as the API's dotenv, otherwise you will get a 403 forbidden status code when launching the bot.
yarn serve