Skip to content

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

Notifications You must be signed in to change notification settings

FxllenCode/discordjs-v14-template-ts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord.js v14 Bot Template

This is my own personal fork that is still WIP! Based on https://github.com/MericcaN41/discordjs-v14-template-ts!

Features

  • 🟦 Typescript
  • 🔥 Slash commands (supports auto complete!)
  • 🕛 Cooldowns
  • 🏴 Detailed Permissions
  • 💪 Event & Command handlers
  • 🍃 MongoDB Support
  • 🧹 Eslint integration
  • 🪵 Winston logging

Installation

Clone the repository then create a file named .env and fill it out accordingly

TOKEN=YOURTOKENHERE
CLIENT_ID=BOTS CLIENT ID
MONGO_URI=YOUR MONGO CONNECTION STRING
MONGO_DATABASE_NAME=YOUR DATABASE NAME
LOG_LEVEL=LOGGINGLEVEL

Then, install all dependencies using npm i.

For development, use the npm run dev command. To start the bot, run npm run start! This will purge the build folder, build the code using tsc, then run it!

Features in Progress

  • /help command!

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%