Complete system for Discord.js V.14 completely wtitten in TypeScript ~ Made by Jonas
- Fully working & efficient Reload Command for developing
- Advanced Prefix Commands Handler
- Anti Crash Handler (toggable)
- Select Menus & Modal Handler
- Premium system with MongoDB
- Cool Help Command included
- Slash Commands Handler
- Developer commands
- Cooldown option
- Events Handler
- Button Handler
Everything Multi-Guild ready and easy to use!
- You will need to install the TypeScript compiler either globally or in your workspace to transpile TypeScript source code to JavaScript:
download Guide—npm install -g typescript@lastestVersion 4.7.x +.
- Adjust the settings in
./src/config.tsso everything suits you:- to enable the crash handler use:
ERROR_HANDLING: true, - if you want to register your Slash Commands globally use:
DEVELOPEMENT: false,
- to enable the crash handler use:
- Install all dependencies by using
npm install - Change the colors and icons used for Embeds in
./src/Structures/Design/ - To run the bot:
- build first with
npm run build/tsc>> start the bot withnpm run start(to start once) /npm run nodemon(to restart automatically on build) - you will need tonpm install -g nodemon
- build first with
data: [SlashCommandBuilder],
options: {
cooldown?: number;
isPremium?: boolean;
description?: string;
}
execute: (interaction, client) => {}| Option | Description | Type | Default | Required? |
|---|---|---|---|---|
isPremium |
Sets whether to set a command premium / free. | bool |
false |
No |
Cooldown |
Adds an automatic cooldown in ms to the command. | number |
0 |
No |
Description |
Description is used to list the Commands in the /helpCommand. |
string |
No |
name: string,
description: string,
aliases: Array<string>,
permissions: Array<PermissionsString> | PermissionsString,
cooldown: number,
isPremium: boolean,
isDevCommand: boolean,
options: [{
name: string;
type: 'user' | 'role' | 'channel' | 'string' | 'number' | 'boolean' | string | number | boolean;
required?: boolean;
}],
execute: (message, customArgs, client) => {}| Option | Description | Type | Default | Required? |
|---|---|---|---|---|
Name |
Adds a name to the command. | string |
Yes | |
Description |
Description is used to list the Commands in the /helpCommand. |
string |
No | |
Aliases |
Adds aliases for the command. | string |
Yes | |
Permissions |
Set Permissions for the command. | array / string |
none |
No |
Cooldown |
Adds an automatic cooldown in ms to the command. | number |
0 |
No |
isPremium |
Sets whether to set a command premium / free. | bool |
false |
No |
isDevCommand |
When enabled, command is only available in the DevGuild (config.ts). | array |
false |
No |
name: ClientEvent;
options: {
ONCE?: boolean,
REST?: boolean
};| Option | Description | Type | Default | Required? |
|---|---|---|---|---|
ONCE |
Specifies if the event should run only once. | bool |
false |
No |
REST |
Rest parameter collects variable numbers of arguments into a single array | bool |
false |
No |
customId: string,
checkIfCustomIdIncludes?: boolean,
cooldown?: number,
isPremium?: boolean,
permissions?: Array<PermissionsString> | PermissionsString,
allowInteractionAuthorOnly?: boolean,
execute: (...args: any[]) => any,| Option | Description | Type | Default | Required? |
|---|---|---|---|---|
customId |
The buttons CustomID. | string |
Yes | |
checkIfCustomIdIncludes |
Enables whether the Button event should execute if the interacted ButtonID includes the CustomID. | boolean |
false |
No |
Permissions |
Set Permissions for the command. | array / string |
none |
No |
Cooldown |
Adds an automatic cooldown in ms to the command. | number |
0 |
No |
isPremium |
Sets whether to set a command premium / free. | bool |
false |
No |
allowInteractionAuthorOnly |
Enables only author / user of the message interaction to use the button | bool |
false |
No |
Credits for the and basic structure - basic system of the slash & events command handler go to Amit Kumar 😘
- Add a GitHub Star to the project & Amit Kumar's Projects.
- Please give proper credits when you use the Handler, especially if you want to edit and post to public.
- Add me on Discord for feedback & questions
The Discord.js v14 TypeScript Handler is available under the MIT License


