Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 months ago
JSON representation
Typescript template for discord.js@14 library
- Host: GitHub
- URL: https://github.com/anriuss/discordjs-v14-typescript-bot-template
- Owner: anriuss
- Created: 2024-08-23T08:58:49.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-26T16:59:51.000Z (6 months ago)
- Last Synced: 2024-09-28T08:41:30.378Z (4 months ago)
- Topics: discord, discord-bot, discord-bot-template, discord-bot-template-ts, discord-bot-tutorial, discord-bot-typescript, discord-js, discordjs, template
- Language: TypeScript
- Homepage:
- Size: 74.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```