Discord.js bot template with ESM, Prisma, MongoDB TypeScript, ESLint and Prettier.
- Install the dependencies:
npm install
- Copy, paste and rename
.env.example
to.env
(Linux:cp .env.example .env
) - Get your bot token and place it in the
.env
file - Develop the bot using
npm run dev
- Start the bot in production
npm run build && npm run start