New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

disceasy

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

disceasy - npm Package Compare versions

Comparing version 0.0.4-beta to 0.0.5-beta

classes/types/command.ts

15

classes/client.js

@@ -5,5 +5,4 @@ const { Client, Collection } = require('discord.js');

module.exports = class DiscEasyClient extends Client {
slashCommands = new Map();
registerCommand = require('../methods/registerCommand');
messageCommands = new Map();
slashCommands = new Collection();
messageCommands = new Collection();

@@ -21,3 +20,11 @@ constructor(options) {

/**
*
* @param {import('./types/command').command} command
* @function
* @tutorial client
*/
registerCommand(command) {
this.messageCommands.set(command.name, command.pathToCommandFile);
}
async start(token) {

@@ -24,0 +31,0 @@ this.loadHandlers();

{
"name": "disceasy",
"version": "0.0.4-beta",
"version": "0.0.5-beta",
"description": "Um pacote simples para produzir bots Discord sem complicação.",

@@ -5,0 +5,0 @@ "main": "src/index.js",

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