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

@djs-modules/handler

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@djs-modules/handler

"@djs-modules/handler" is a module that allows you to make organization of commands/events in your Discord bot.

  • 1.3.6
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Welcome

Welcome! This is "@djs-modules/handler" module!
"@djs-modules/handler" is a module that allows you to make organization of commands/events in your Discord bot.

Installation

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

npm i @djs-modules/handler
yarn add @djs-modules/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 example of using this module.

const { Client } = require("discord.js");
const { Handler } = require("@djs-modules/handler");

const client = new Client({
  intents: ["GUILDS", "GUILD_MESSAGES"],
});

new Handler({
  commandsDir: `./commands`,
  slashCommandsDir: `./slashCommands`,
  eventsDir: `./events`,

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

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

Keywords

FAQs

Package last updated on 15 Aug 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