mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-06-03 09:20:10 +00:00
fix(APISelectMenuComponenet): make options field optional (#209)
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user