From f93b6be2528c80f8dc038282a7d6ddb3c4685c2f Mon Sep 17 00:00:00 2001 From: Vlad Frangu Date: Sun, 1 Aug 2021 00:48:14 +0300 Subject: [PATCH] chore(ApplicationCommandOptionType): casing changes for subcommands (#175) BREAKING CHANGE: This renames `SubCommand` to `Subcommand`, and `SubCommandGroup` to `SubcommandGroup` --- deno/payloads/v8/_interactions/slashCommands.ts | 10 +++++----- deno/payloads/v9/_interactions/slashCommands.ts | 10 +++++----- payloads/v8/_interactions/slashCommands.ts | 10 +++++----- payloads/v9/_interactions/slashCommands.ts | 10 +++++----- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/deno/payloads/v8/_interactions/slashCommands.ts b/deno/payloads/v8/_interactions/slashCommands.ts index 82fc6f8a..57de779f 100644 --- a/deno/payloads/v8/_interactions/slashCommands.ts +++ b/deno/payloads/v8/_interactions/slashCommands.ts @@ -68,7 +68,7 @@ export type APIApplicationCommandOption = * If the option is a `SUB_COMMAND` or `SUB_COMMAND_GROUP` type, this nested options will be the parameters */ export interface APIApplicationCommandSubCommandOptions extends Omit { - type: ApplicationCommandOptionType.SubCommand | ApplicationCommandOptionType.SubCommandGroup; + type: ApplicationCommandOptionType.Subcommand | ApplicationCommandOptionType.SubcommandGroup; options?: APIApplicationCommandOption[]; } @@ -90,8 +90,8 @@ export interface APIApplicationCommandArgumentOptions extends Omit { - type: ApplicationCommandOptionType.SubCommand | ApplicationCommandOptionType.SubCommandGroup; + type: ApplicationCommandOptionType.Subcommand | ApplicationCommandOptionType.SubcommandGroup; options?: APIApplicationCommandOption[]; } @@ -90,8 +90,8 @@ export interface APIApplicationCommandArgumentOptions extends Omit { - type: ApplicationCommandOptionType.SubCommand | ApplicationCommandOptionType.SubCommandGroup; + type: ApplicationCommandOptionType.Subcommand | ApplicationCommandOptionType.SubcommandGroup; options?: APIApplicationCommandOption[]; } @@ -90,8 +90,8 @@ export interface APIApplicationCommandArgumentOptions extends Omit { - type: ApplicationCommandOptionType.SubCommand | ApplicationCommandOptionType.SubCommandGroup; + type: ApplicationCommandOptionType.Subcommand | ApplicationCommandOptionType.SubcommandGroup; options?: APIApplicationCommandOption[]; } @@ -90,8 +90,8 @@ export interface APIApplicationCommandArgumentOptions extends Omit