chore(release): v2.6.2

This commit is contained in:
March 7th
2022-08-18 12:11:49 +07:00
parent 8082ade700
commit b870b51c11
3 changed files with 8 additions and 4 deletions

6
typings/index.d.ts vendored
View File

@@ -474,7 +474,11 @@ export class ApplicationCommand<PermissionsFetchType = {}> extends Base {
private static transformCommand(command: ApplicationCommandData): RESTPostAPIApplicationCommandsJSONBody;
private static isAPICommandData(command: object): command is RESTPostAPIApplicationCommandsJSONBody;
// Add
public static sendSlashCommand(message: Message, subCommandArray?: string[], options?: string[]): Promise<InteractionResponseBody>;
public static sendSlashCommand(
message: Message,
subCommandArray?: string[],
options?: string[],
): Promise<InteractionResponseBody>;
public static sendContextMenu(message: Message): Promise<InteractionResponseBody>;
}