@gary50613/discord.js-command-handler
Advanced tools
Comparing version 2.4.1 to 2.4.2
{ | ||
"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 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28483