The admin prefix is configured in the ConfigService. It can be overriden by the ADMIN_PREFIX environnement variable.
Those commands are bound to the administrator permission in the current server.
Can only be used by server admins.
-
[GET]
//healthHealth check, should always return OK -
[GET] /discord/bot-invite helper method that redirect to the bot invite link
$ npm ci.env files supported
- PORT : default 5000
- DISCORD_API_TOKEN
- DISCORD_CLIENT_ID
- MONGO_URL
- ADMIN_PREFIX
- DEFAULT_PREFIX
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov- Nest framework TypeScript.
- discord.js discord API client.




