chew01 / djs-v14-typescript-template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Discord.js V14 Template (Lightweight)

This is a lightweight boilerplate for Discord.js v14 (dev) in Typescript.

Features

  • Type definitions for SlashCommands and EventHandlers
  • 2 basic events ('ready', 'interactionCreate')
  • 3 basic commands (/ping, /info, /help)
  • Pretty-formatted logging with levels via pino

Prerequisites

Usage

  1. Install the prerequisites, including a package manager of your choice (this guide uses npm)
  2. Edit .env file and change any intents in config/GatewayIntents.json
  3. Run the bot with npm run bot

To run the bot in development watch mode (restart on every change), use npm run watch

About

License:GNU General Public License v3.0


Languages

Language:TypeScript 99.7%Language:Shell 0.3%