@hunteroi/discord-selfrole
    Preparing search index...

    Type Alias SelectMenuOptions

    type SelectMenuOptions = {
        maxValues?: number;
        minValues?: number;
        placeholder?: string;
        resetButton?: Pick<BaseButtonComponentData, "label" | "emoji" | "style">;
    }
    Index

    Properties

    maxValues?: number

    The maximum number of roles selectable for the select menu. Should not be greater than the number of roles available in the menu.

    Do not set this option if you want to create a single-select menu.

    1
    

    25

    minValues?: number

    The minimum number of roles selectable for the select menu.

    Do not set this option if you want to create a single-select menu.

    1

    placeholder?: string

    The placeholder for the select menu.

    "Select a role"
    
    resetButton?: Pick<BaseButtonComponentData, "label" | "emoji" | "style">

    The button to reset the select menu.