No description
  • TypeScript 92.5%
  • JavaScript 7.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2023-11-25 10:39:00 +03:00
src Feat: add modal support 2023-10-25 10:30:21 +07:00
.gitignore 🍃 MongoDB Support 2022-09-07 21:20:49 +03:00
build.js 😎 Add fancy build command 2023-10-25 18:56:09 +03:00
package-lock.json 😎 Add fancy build command 2023-10-25 18:56:09 +03:00
package.json 😎 Add fancy build command 2023-10-25 18:56:09 +03:00
README.md Update README.md 2023-11-25 12:07:30 +11:00
tsconfig.json 🔥 Release 2022-09-05 11:11:43 +03:00

Discord.js v14 Bot Template

Features

  • 🟦 Typescript
  • 🔥 Slash commands (supports auto complete!)
  • ✉️ Message commands
  • 🕛 Cooldowns
  • 🏴 Detailed Permissions
  • 💪 Event & Command handlers
  • 🍃 MongoDB Support

Installation, Build and Run

  1. Clone the repository then create a file named .env and fill it out accordingly
TOKEN=YOURTOKENHERE
CLIENT_ID=BOTS CLIENT ID
PREFIX=!
MONGO_URI=YOUR MONGO CONNECTION STRING
MONGO_DATABASE_NAME=YOUR DATABASE NAME
  1. Install typescript, To install TypeScript, you can run the following command in your terminal, This will install the latest version of TypeScript globally on your computer. (You can skip this if you already have typescript installed)
npm install -g typescript
  1. Build the project by running the following command:

This command will also install the node modules if you haven't installed them.

npm run build
  1. Once the build is complete it will generated a folder named build that contains compiled version of your ts code to js. You can run the following command in your terminal to run the project:
npm start