Class OAuthHelper

A helper to make using authenticated oauth requests without needing a new client instance.

Hierarchy

  • OAuthHelper

Constructors

Methods

  • Get the guild member information about the currently authenticated user.

    Note: Requires the guilds.members.read scope.

    Parameters

    • guild: string

      the ID of the guild

    Returns Promise<Member>