Various methods for interacting with oauth.

Hierarchy

  • OAuth

Constructors

Accessors

Methods

  • Get the connections of the currently authenticated user.

    Note: Requires the connections scope when using oauth.

    Returns Promise<Connection[]>

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

    Note: OAuth only. Requires the guilds.members.read scope. Bots cannot use this.

    Parameters

    • guild: string

      the ID of the guild

    Returns Promise<Member>