Skip to content

Commit

Permalink
fix(APISelectMenuComponenet): make options field optional (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
iShibi committed Sep 29, 2021
1 parent 68d97ae commit 0c592a0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deno/payloads/v8/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ export interface APISelectMenuComponent extends APIBaseMessageComponent<Componen
/**
* The choices in the select, max 25
*/
options: APISelectMenuOption[];
options?: APISelectMenuOption[];
/**
* Custom placeholder text if nothing is selected, max 100 characters
*/
Expand Down
2 changes: 1 addition & 1 deletion deno/payloads/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ export interface APISelectMenuComponent extends APIBaseMessageComponent<Componen
/**
* The choices in the select, max 25
*/
options: APISelectMenuOption[];
options?: APISelectMenuOption[];
/**
* Custom placeholder text if nothing is selected, max 100 characters
*/
Expand Down
2 changes: 1 addition & 1 deletion payloads/v8/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ export interface APISelectMenuComponent extends APIBaseMessageComponent<Componen
/**
* The choices in the select, max 25
*/
options: APISelectMenuOption[];
options?: APISelectMenuOption[];
/**
* Custom placeholder text if nothing is selected, max 100 characters
*/
Expand Down
2 changes: 1 addition & 1 deletion payloads/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ export interface APISelectMenuComponent extends APIBaseMessageComponent<Componen
/**
* The choices in the select, max 25
*/
options: APISelectMenuOption[];
options?: APISelectMenuOption[];
/**
* Custom placeholder text if nothing is selected, max 100 characters
*/
Expand Down

0 comments on commit 0c592a0

Please sign in to comment.