Class GlobalUserManager

A manager for interacting with users. You can retrieve users from the .cache property. At this point in time, Users cache population is heavily reliant on the Member cache.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

cache: Collection<string, User> = ...
client: Client

Methods

  • Fetches a user's servers (atm, only the logged in client is supported)

    Parameters

    • userId: string

      The ID of the user to fetch servers for.

    Returns Promise<Collection<string, Server>>

    A promise that resolves to a Collection with the returned servers.

Generated using TypeDoc