Class PartialApplication

Represents a partial application.

Hierarchy

  • Base
    • PartialApplication

Constructors

Properties

botPublic?: boolean

When false, only the application's owners can invite the bot to guilds.

botRequireCodeGrant?: boolean

When true, the applications bot will only join upon the completion of the full oauth2 code grant flow.

description: string

The description of the application.

icon: null | string

The icon hash of the application.

id: string
name: string

The name of the application.

verifyKey?: string

The bot's hex encoded public key.

Accessors

  • get createdAt(): Date
  • Returns Date

Methods

  • The url of this application's icon.

    Parameters

    • Optional format: "jpg" | "jpeg" | "png" | "webp" | "gif"

      The format the url should be.

    • Optional size: number

      The dimensions of the image.

    Returns null | string

  • Returns string

  • Parameters

    Returns void

  • Parameters

    • Optional timestamp: number | Date

    Returns string

  • Parameters

    • id: string

    Returns Date

  • Parameters

    • id: string

    Returns number

Generated using TypeDoc