/discordjs-v14-template-ts

A typescript template for Discord.js v14 that includes handlers, slash commands, mongodb, permissions and more.

Primary LanguageTypeScript

Discord.js v14 Bot Template

Features

  • 🟦 Typescript
  • 🔥 Slash commands
  • ✉️ Message commands
  • 🕛 Cooldowns
  • 🏴 Detailed Permissions
  • 💪 Event & Command handlers
  • 🍃 MongoDB Support

Installation

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

Build the project using the typescript module and start the bot using the npm start command