A discord bot to check if there are any connected users on a guild ( server ).
 
Go to file
Pau Costa Ferrer dc6223608a 📝 Add .env example to README.md 2024-08-26 21:28:25 +02:00
src 🔐 adds .env configuration of listening port 2024-08-26 21:25:01 +02:00
test 🎉 first commit 2024-08-26 21:19:26 +02:00
.eslintrc.js 🎉 first commit 2024-08-26 21:19:26 +02:00
.gitignore 🎉 first commit 2024-08-26 21:19:26 +02:00
.prettierrc 🎉 first commit 2024-08-26 21:19:26 +02:00
LICENSE Initial commit 2024-08-26 19:16:42 +00:00
README.md 📝 Add .env example to README.md 2024-08-26 21:28:25 +02:00
nest-cli.json 🎉 first commit 2024-08-26 21:19:26 +02:00
package-lock.json 🎉 first commit 2024-08-26 21:19:26 +02:00
package.json 🎉 first commit 2024-08-26 21:19:26 +02:00
tsconfig.build.json 🎉 first commit 2024-08-26 21:19:26 +02:00
tsconfig.json 🎉 first commit 2024-08-26 21:19:26 +02:00

README.md

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