Chameleon
    Preparing search index...

    Interface ApplicationCommandOption

    interface ApplicationCommandOption {
        type: number;
        name: string;
        nameLocalizations?: Record<string, string>;
        description: string;
        descriptionLocalizations?: Record<string, string>;
        required?: boolean;
        choices?: ApplicationCommandOptionChoice[];
        options?: ApplicationCommandOption[];
        channelTypes?: number[];
        minValue?: number;
        maxValue?: number;
        minLength?: number;
        maxLength?: number;
        autocomplete?: boolean;
    }
    Index

    Properties

    type: number
    name: string
    nameLocalizations?: Record<string, string>
    description: string
    descriptionLocalizations?: Record<string, string>
    required?: boolean
    channelTypes?: number[]
    minValue?: number
    maxValue?: number
    minLength?: number
    maxLength?: number
    autocomplete?: boolean