light-bot/README.md

608 B

light-bot

A discord bot to check if there are any connected users on a guild ( server ).

Project setup

$ npm install

Compile and run the project

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Secrets management

The application expects a .env file in the root directory of the project with the following variables set.

# 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