/EddieBot

Discord bot for Eddie Jaoude's Discord server

Primary LanguageTypeScriptMIT LicenseMIT

Description

Nest framework TypeScript starter repository.

Config / Secrets environment variables

Copy .env.example to .env and add your private information

Note: never commit this file, it should be ignored by git

DISCORD_TOKEN="<your-token>"
DISCORD_PREFIX="!"
API_URL=
API_TOKEN=

Note: to perform some of the reading/writing from the DB you will need the API project EddieHubCommunity/api

Installation

SSH

$ git clone git@github.com:EddieHubCommunity/EddieBot.git

GitHub CLI

$ gh repo clone EddieHubCommunity/EddieBot

HTTPS

$ git clone https://github.com/EddieHubCommunity/EddieBot.git
$ cd EddieBot
$ npm install

Discord Docs

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

License

Nest is MIT licensed.