Hierarchy

Constructors

Methods

  • Get the connections of the currently authenticated user.

    Note: Requires the connections scope when using oauth.

    Returns

    Returns Promise<{ friendSync: boolean; id: string; integrations: undefined | Integration[]; name: string; revoked: undefined | boolean; showActivity: boolean; type: "battlenet" | "epicgames" | "facebook" | "github" | "leagueoflegends" | "playstation" | "reddit" | "samsunggalaxy" | "spotify" | "skype" | "steam" | "twitch" | "twitter" | "xbox" | "youtube"; verified: boolean; visibility: VisibilityTypes }[]>

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

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

    Returns

    Parameters

    • guild: string

      the id of the guild

    Returns Promise<Member>