Socket
Socket
Sign inDemoInstall

handler.dts

Package Overview
Dependencies
1
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    handler.dts

A package to manage all discord bot Files


Version published
Weekly downloads
152
decreased by-48.12%
Maintainers
1
Created
Weekly downloads
 

Readme

Source
v

Introduction

handler.dts is a powerful tool designed to simplify the management of Discord.js bot files. It aims to enhance productivity by reducing the amount of time and code required to handle various aspects of a Discord bot, while also improving performance.

Installing

 $ npm init
 $ npm i discord.js
 $ npm i handler.dts
You can Handel Files with this package

SetUp

const { Client } = require('discord.js');
const { Application } = require('handler.dts');

const client = new Client({
    intents: 3276799
});

new Application(client, {
    commands: __dirname.concat('/commands'),
    events: __dirname.concat('/events'),
});

client.Application.build();

client.login('Token');

commands Setup

const { Message } = require('discord.js');
const { CommandBuilder } = require('handler.dts');

CommandBuilder.$N`ping`.$M(Execution);

/**
 * @param {Message} message 
 */
function Execution(message) {
    message.replyNoMention('pong 🏓')
}

Keywords

FAQs

Last updated on 28 Apr 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc