Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@badboy-discord/discordjs-handler

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@badboy-discord/discordjs-handler

discordjs-handler will simplify creating Command and Event Handler for your Discord Bot.

  • 1.2.4
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

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}",
});

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

Keywords

FAQs

Package last updated on 15 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc