Javascript Discord Boilerplate

Getting Started

To start, just click the use template link (or the green button).

Create a Discord application. Guide.

Rename .env.example to .env and fill out the values.

Install all the dependencies with:

Package Manager Command
Yarn yarn
npm npm install
pnpm pnpm install

Start the bot with:

Package Manager Command
Yarn yarn start
npm npm run start
pnpm pnpm run start

Available Scripts

  • start: Starts the bot.
  • lint: Lint source files and tests.
  • lint:fix: Lint source files and tests and fix them.

License

This project is licensed under the GPL-3.0 license.

GitHub

View Github