Skip to main content

SelectMenuUsersAndRolesComponent

@discordeno/bot


Documentation / @discordeno/bot / SelectMenuUsersAndRolesComponent

Interface: SelectMenuUsersAndRolesComponent

Defined in: packages/types/dist/types/discordeno.d.ts:133

Properties

customId

customId: string

Defined in: packages/types/dist/types/discordeno.d.ts:137

A custom identifier for this component. Maximum 100 characters.


defaultValues?

optional defaultValues: SelectMenuDefaultValue[]

Defined in: packages/types/dist/types/discordeno.d.ts:144

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


disabled?

optional disabled: boolean

Defined in: packages/types/dist/types/discordeno.d.ts:150

Whether or not this select is disabled


maxValues?

optional maxValues: number

Defined in: packages/types/dist/types/discordeno.d.ts:148

The maximum number of items that can be selected. Default 1. Between 1-25.


minValues?

optional minValues: number

Defined in: packages/types/dist/types/discordeno.d.ts:146

The minimum number of items that must be selected. Default 1. Between 1-25.


placeholder?

optional placeholder: string

Defined in: packages/types/dist/types/discordeno.d.ts:139

A custom placeholder text if nothing is selected. Maximum 150 characters.


type

type: SelectMenuUsersAndRoles

Defined in: packages/types/dist/types/discordeno.d.ts:135

SelectMenuChannels Component is of type 7