discordx
    Preparing search index...

    Interface SlashOptionBaseOptions<T, TD>

    interface SlashOptionBaseOptions<T extends string, TD extends string> {
        autocomplete?: undefined;
        channelTypes?: undefined;
        description: TD;
        descriptionLocalizations?: Partial<Record<Locale, null | string>>;
        maxLength?: undefined;
        maxValue?: undefined;
        minLength?: undefined;
        minValue?: undefined;
        name: T;
        nameLocalizations?: Partial<Record<Locale, null | string>>;
        nsfw?: boolean;
        required?: boolean;
        type:
            | String
            | Integer
            | Boolean
            | User
            | Role
            | Mentionable
            | Number
            | Attachment;
    }

    Type Parameters

    • T extends string
    • TD extends string
    Index

    Properties

    autocomplete?: undefined
    channelTypes?: undefined
    description: TD
    descriptionLocalizations?: Partial<Record<Locale, null | string>>
    maxLength?: undefined
    maxValue?: undefined
    minLength?: undefined
    minValue?: undefined
    name: T
    nameLocalizations?: Partial<Record<Locale, null | string>>
    nsfw?: boolean
    required?: boolean
    type:
        | String
        | Integer
        | Boolean
        | User
        | Role
        | Mentionable
        | Number
        | Attachment