📝 Add .env example to README.md

main
Pau Costa Ferrer 2024-08-26 21:28:25 +02:00
parent 46d4c48abc
commit dc6223608a
1 changed files with 13 additions and 0 deletions

View File

@ -20,3 +20,16 @@ $ npm run start:dev
# production mode # production mode
$ npm run start:prod $ npm run start:prod
``` ```
## Secrets management
The application expects a .env file in the root directory of the project
with the following variables set.
```dotenv
# The discord token obtained from your dev dashboard, requires
# privileged intents.
DISCORD_TOKEN=your_discord_app_token_goes_here
# Optional, default port is 3000
PORT=3000
```