SelectMenuRolesComponent
@discordeno/bot • Docs
Documentation / @discordeno/bot / SelectMenuRolesComponent
Interface: SelectMenuRolesComponent
Properties
customId
customId:
string
A custom identifier for this component. Maximum 100 characters.
Defined in
packages/types/dist/types/discordeno.d.ts:118
defaultValues?
optional
defaultValues:SelectMenuDefaultValue
[]
List of default values for auto-populated select menu components The number of default values must be in the range defined by minValues and maxValues
Defined in
packages/types/dist/types/discordeno.d.ts:125
disabled?
optional
disabled:boolean
Whether or not this select is disabled
Defined in
packages/types/dist/types/discordeno.d.ts:131
maxValues?
optional
maxValues:number
The maximum number of items that can be selected. Default 1. Between 1-25.
Defined in
packages/types/dist/types/discordeno.d.ts:129
minValues?
optional
minValues:number
The minimum number of items that must be selected. Default 1. Between 1-25.
Defined in
packages/types/dist/types/discordeno.d.ts:127
placeholder?
optional
placeholder:string
A custom placeholder text if nothing is selected. Maximum 150 characters.
Defined in
packages/types/dist/types/discordeno.d.ts:120
type
type:
SelectMenuRoles
SelectMenuChannels Component is of type 6
Defined in
packages/types/dist/types/discordeno.d.ts:116