Discord.js Template (V14)
- Discord.js V14 for Discord bot
- Full Support for SlashCommand/Components
- Automatic update bot from github source
- Static Types with TypeScript
- Github Actions for build test and lint
- Database ORM with Prisma
- Code formatting with Prettier
- Linting with ESLint
- Support ESM
- Click Use this template
- Clone Your Repo:
git clone git@github.com:<YOUR-NAME>/<REPO-NAME>.git && cd <REPO-NAME>
- Copy config file:
cp src/example.config.ts src/config.ts
- Create
.env
file and Add database urlDefault database is mongodb. You can change this in prisma/schema.prisma
DATABASE_URL="YOUR_DATABASE_URL"
- Install Dependency:
yarn install
- Run dev server:
yarn dev