Skip to content

Commit

Permalink
fix(APIApplicationCommandOption): remove default property (#242)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
suneettipirneni committed Nov 22, 2021
1 parent 7379a34 commit faa8bf4
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ interface APIApplicationCommandOptionBase {
| ApplicationCommandOptionType.Mentionable;
name: string;
description: string;
default?: boolean;
required?: boolean;
autocomplete?: never;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ interface APIApplicationCommandOptionBase {
| ApplicationCommandOptionType.Mentionable;
name: string;
description: string;
default?: boolean;
required?: boolean;
autocomplete?: never;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ interface APIApplicationCommandOptionBase {
| ApplicationCommandOptionType.Mentionable;
name: string;
description: string;
default?: boolean;
required?: boolean;
autocomplete?: never;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ interface APIApplicationCommandOptionBase {
| ApplicationCommandOptionType.Mentionable;
name: string;
description: string;
default?: boolean;
required?: boolean;
autocomplete?: never;
}
Expand Down

0 comments on commit faa8bf4

Please sign in to comment.