Constructors

Properties

requiredOptions: ApplicationCommandOption[]
values: (string | number | boolean)[]

Methods

  • Get attachments from this Message (using REST) (works for embedded content such as images).

    Parameters

    • name: string
    • Optionalrequired: false

    Returns Promise<undefined | MessageAttachment>

  • Parameters

    • name: string
    • required: true

    Returns Promise<MessageAttachment>

  • Parameters

    • name: string
    • Optionalrequired: false

    Returns undefined | {
        name: string;
        value: string;
    }

  • Parameters

    • name: string
    • required: true

    Returns {
        name: string;
        value: string;
    }

    • name: string
    • value: string
  • Parameters

    • name: string
    • Optionalrequired: false

    Returns undefined | {
        name: string;
        value: boolean;
    }

  • Parameters

    • name: string
    • required: true

    Returns {
        name: string;
        value: boolean;
    }

    • name: string
    • value: boolean
  • Type Parameters

    Parameters

    • name: string
    • Optionalrequired: false

    Returns undefined | T

  • Type Parameters

    Parameters

    • name: string
    • required: true

    Returns T

  • Parameters

    • name: string
    • Optionalrequired: false

    Returns undefined | {
        name: string;
        value: string;
    }

  • Parameters

    • name: string
    • required: true

    Returns {
        name: string;
        value: string;
    }

    • name: string
    • value: string
  • Parameters

    • name: string
    • Optionalrequired: false

    Returns undefined | {
        name: string;
        value: number;
    }

  • Parameters

    • name: string
    • required: true

    Returns {
        name: string;
        value: number;
    }

    • name: string
    • value: number
  • Parameters

    • name: string
    • Optionalrequired: false

    Returns undefined | {
        name: string;
        value: number;
    }

  • Parameters

    • name: string
    • required: true

    Returns {
        name: string;
        value: number;
    }

    • name: string
    • value: number
  • Parameters

    • name: string
    • Optionalrequired: false

    Returns undefined | {
        name: string;
        value: number;
    }

  • Parameters

    • name: string
    • required: true

    Returns {
        name: string;
        value: number;
    }

    • name: string
    • value: number
  • Parameters

    • name: string
    • Optionalrequired: false

    Returns undefined | {
        name: string;
        value: number;
    }

  • Parameters

    • name: string
    • required: true

    Returns {
        name: string;
        value: number;
    }

    • name: string
    • value: number
  • Parameters

    • name: string
    • Optionalrequired: false

    Returns undefined | {
        name: string;
        value: number;
    }

  • Parameters

    • name: string
    • required: true

    Returns {
        name: string;
        value: number;
    }

    • name: string
    • value: number
  • Parameters

    • name: string
    • Optionalrequired: false

    Returns undefined | {
        name: string;
        value: number;
    }

  • Parameters

    • name: string
    • required: true

    Returns {
        name: string;
        value: number;
    }

    • name: string
    • value: number
  • Parameters

    • name: string
    • Optionalrequired: false

    Returns undefined | {
        name: string;
        value: string;
    }

  • Parameters

    • name: string
    • required: true

    Returns {
        name: string;
        value: string;
    }

    • name: string
    • value: string
  • Parameters

    • name: string
    • Optionalrequired: false

    Returns undefined | {
        name: string;
        value: string;
    }

  • Parameters

    • name: string
    • required: true

    Returns {
        name: string;
        value: string;
    }

    • name: string
    • value: string
  • Returns boolean

  • Returns boolean

  • Returns {
        incorrect: string[];
        missing: string[];
        total: string[];
    }

    • incorrect: string[]
    • missing: string[]
    • total: string[]