/discord-bot-template

Discord.js bot template with ESM, Prisma, MongoDB TypeScript, ESLint and Prettier.

Primary LanguageTypeScriptMIT LicenseMIT

discord-bot-template

Discord.js bot template with ESM, Prisma, MongoDB TypeScript, ESLint and Prettier.

Installation

  1. Install the dependencies: npm install
  2. Copy, paste and rename .env.example to .env (Linux: cp .env.example .env)
  3. Get your bot token and place it in the .env file
  4. Develop the bot using npm run dev
  5. Start the bot in production npm run build && npm run start