Options
All
  • Public
  • Public/Protected
  • All
Menu

The base rest handler for all things Discord rest

Hierarchy

  • EventEmitter<{ error: RestError }>
    • RestManager

Index

Constructors

constructor

Properties

buckets

buckets: Cache<string, Bucket> = ...

channels

channels: ChannelsResource = ...

Channel resource

emojis

emojis: EmojisResource = ...

Emojis resource

global

global: null | Promise<true> = null

guilds

guilds: GuildsResource = ...

Guilds resource

interactions

interactions: InteractionResource = ...

Interactions resource

members

members: MembersResource = ...

Members resource

messages

messages: MessagesResource = ...

Messages resource

misc

misc: MiscResource = ...

Misc resource

options

users

users: UsersResource = ...

Users resource

webhooks

webhooks: WebhooksResource = ...

Webhooks resource

Methods

request

  • request(method: Methods, route: string, options?: RequestOptions): Promise<any>
  • Make a custom request

    Parameters

    • method: Methods

      Method

    • route: string

      Route, e.g "/users/123"

    • options: RequestOptions = {}

      Other options

    Returns Promise<any>

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Static method

Generated using TypeDoc