1.2.4 • Published 2 years ago

@badboy-discord/discordjs-handler v1.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Welcome

Welcome! This is "discordjs-handler" module! This is module that will simplify creating Command and Event Handlers for you Discord Bot!

Installation

Please note: NodeJS v16.6 or above required for this module!

$ npm i @badboy-discord/discordjs-handler

Features

🙂 Easy to use. 👍 Beginner friendly. 🔑 TypeScript Support. ⚙️ 100% Promise-based

Initialization

To initializate module, you need to write this code in bot main file. Or you can view our examples folder.

const { Client } = require("discord.js");
const { Handler } = require("discordjs-handler");

const client = new Client({
  intents: ["GUILDS", "GUILD_MESSAGES"],
});
const handler = new Handler({
  commandsDir: `${__dirname}/commands`,
  slashCommandsDir: `${__dirname}/slashCommands`,
  eventsDir: `${__dirname}/events`,

  searchPattern: "**/*{.js,.ts}",
});

Links

Authors: badboy-discord, xyligan-gp Discord Tags: WhyMe#1126, ♡ xүℓ[ι]gαη4εg ♡#9457 NodeJS: Click TypeScript: Click Support Server: Click Website: Click

1.2.0

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago