Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.32 KB

File metadata and controls

37 lines (26 loc) · 1.32 KB

Discord.js v14 TypeScript Bot Template

Welcome to the Discord.js v14 TypeScript Bot Template! This template is designed to help you quickly set up a Discord bot using Discord.js version 14 and TypeScript. It includes essential features and a structured setup to streamline your development process.

Features

  • TypeScript Support: Benefit from type safety and modern JavaScript features.
  • Slash Commands: Easily implement slash commands with auto-completion support.
  • Message Commands: Handle traditional message-based commands.
  • Cooldowns: Prevent command spam with built-in cooldown functionality.
  • Detailed Permissions: Manage command permissions effectively.
  • Event & Command Handlers: Organized structure for handling events and commands.
  • MongoDB Support: Built-in support for MongoDB to manage persistent data.

Installation

To set up your bot using this template, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/MrAnri29/discordjs-v14-typescript-bot-template YOUR_PROJECT_NAME
  2. Configure environment:

    • Rename the .env.template file to .env.local and update the values accordingly.
  3. Install Dependencies:

    npm install
  4. Run the Bot:

    npm run start