Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anriuss/discordjs-v14-typescript-bot-template

Typescript template for discord.js@14 library
https://github.com/anriuss/discordjs-v14-typescript-bot-template

discord discord-bot discord-bot-template discord-bot-template-ts discord-bot-tutorial discord-bot-typescript discord-js discordjs template

Last synced: about 9 hours ago
JSON representation

Typescript template for discord.js@14 library

Awesome Lists containing this project

README

        

# 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**:

```bash
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**:

```bash
npm install
```

4. **Run the Bot**:

```bash
npm run start
```