fix(APIApplicationCommandOption): remove default property (#242)

BREAKING CHANGE: If you were using the `default` property for ApplicationCommandOptions, it has been removed, as Discord wasn't even taking it into account anymore.
This commit is contained in:
Suneet Tipirneni
2021-11-22 14:20:24 -05:00
committed by GitHub
parent 7379a345e8
commit faa8bf494b
4 changed files with 0 additions and 4 deletions

View File

@@ -17,7 +17,6 @@ interface APIApplicationCommandOptionBase {
| ApplicationCommandOptionType.Mentionable;
name: string;
description: string;
default?: boolean;
required?: boolean;
autocomplete?: never;
}

View File

@@ -17,7 +17,6 @@ interface APIApplicationCommandOptionBase {
| ApplicationCommandOptionType.Mentionable;
name: string;
description: string;
default?: boolean;
required?: boolean;
autocomplete?: never;
}

View File

@@ -17,7 +17,6 @@ interface APIApplicationCommandOptionBase {
| ApplicationCommandOptionType.Mentionable;
name: string;
description: string;
default?: boolean;
required?: boolean;
autocomplete?: never;
}

View File

@@ -17,7 +17,6 @@ interface APIApplicationCommandOptionBase {
| ApplicationCommandOptionType.Mentionable;
name: string;
description: string;
default?: boolean;
required?: boolean;
autocomplete?: never;
}