Class RESTManager

A manager for all rest actions.

Hierarchy

  • RESTManager

Constructors

Properties

#private: any
applicationCommands: default
channels: default
guilds: default
handler: default
interactions: default
misc: default
oauth: default
users: default
webhooks: default

Accessors

  • get options(): RESTOptions
  • Returns RESTOptions

Methods

  • Alias for RequestHandler~RequestHandler#authRequest | RequestHandler#authRequest

    Type Parameters

    • T = unknown

    Parameters

    Returns Promise<T>

  • Get the gateway information related to your bot client.

    Returns Promise<GetBotGatewayResponse>

  • Get the gateway information.

    Returns Promise<GetGatewayResponse>

  • Alias for RequestHandler~RequestHandler#request | RequestHandler#request

    Type Parameters

    • T = unknown

    Parameters

    Returns Promise<T>

Generated using TypeDoc