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

@gary50613/discord.js-command-handler

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gary50613/discord.js-command-handler - npm Package Compare versions

Comparing version 2.4.1 to 2.4.2

2

package.json
{
"name": "@gary50613/discord.js-command-handler",
"version": "2.4.1",
"version": "2.4.2",
"description": "simple discord.js command handler",

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

@@ -50,4 +50,4 @@ import { Message, MessageEmbed, Client, PermissionResolvable, GuildMember, Guild } from "discord.js"

public description: string;
public options: any[]
public constructor(name: string, description: string, options: string[])
public options?: any[]
public constructor(name: string, description: string, options?: string[])
public execute(bot: Client, interaction: InteractionHandler, options: any, member: GuildMember): Promise<any>

@@ -80,3 +80,3 @@ }

*/
public reply(content: any, publicVisible: boolean): Promise<InteractionResponse>
public reply(content: any, publicVisible?: boolean): Promise<InteractionResponse>
/**

@@ -86,3 +86,3 @@ * @param publicVisible whether the message is visible to everyone

*/
public thinking(publicVisible: boolean): Promise<any>
public thinking(publicVisible?: boolean): Promise<any>
public buildInteractionData(content: any): InteractionResponse

@@ -89,0 +89,0 @@ }

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