Class CommandInteractionOptionResolver<Cached>

Type Parameters

Hierarchy

  • CommandInteractionOptionResolver

Constructors

Properties

_group: null | string
_hoistedOptions: CommandInteractionOption<Cached>[]
_subcommand: null | string
client: Client<boolean>
data: readonly CommandInteractionOption<Cached>[]
resolved: null | Readonly<CommandInteractionResolvedData<Cached>>

Methods

  • Parameters

    • name: string
    • allowedTypes: readonly ApplicationCommandOptionType[]
    • properties: readonly ("type" | "name" | "nameLocalizations" | "description" | "descriptionLocalizations" | "autocomplete")[]
    • required: true

    Returns CommandInteractionOption<Cached>

  • Parameters

    • name: string
    • allowedTypes: readonly ApplicationCommandOptionType[]
    • properties: readonly ("type" | "name" | "nameLocalizations" | "description" | "descriptionLocalizations" | "autocomplete")[]
    • required: boolean

    Returns null | CommandInteractionOption<Cached>

  • Parameters

    • name: string
    • required: true

    Returns Attachment

  • Parameters

    • name: string
    • Optional required: boolean

    Returns null | Attachment

  • Parameters

    • name: string
    • required: true

    Returns boolean

  • Parameters

    • name: string
    • Optional required: boolean

    Returns null | boolean

  • Parameters

    • getFull: true

    Returns AutocompleteFocusedOption

  • Parameters

    • Optional getFull: boolean

    Returns string

  • Parameters

    • name: string
    • required: true

    Returns number

  • Parameters

    • name: string
    • Optional required: boolean

    Returns null | number

  • Parameters

    • name: string
    • required: true

    Returns Message<BooleanCache<Cached>>

  • Parameters

    • name: string
    • Optional required: boolean

    Returns null | Message<BooleanCache<Cached>>

  • Parameters

    • name: string
    • required: true

    Returns number

  • Parameters

    • name: string
    • Optional required: boolean

    Returns null | number

  • Parameters

    • name: string
    • required: true

    Returns string

  • Parameters

    • name: string
    • Optional required: boolean

    Returns null | string

  • Parameters

    • Optional required: true

    Returns string

  • Parameters

    • required: boolean

    Returns null | string

  • Parameters

    • required: true

    Returns string

  • Parameters

    • Optional required: boolean

    Returns null | string

  • Parameters

    • name: string
    • required: true

    Returns User

  • Parameters

    • name: string
    • Optional required: boolean

    Returns null | User

Generated using TypeDoc