Class BaseObject<APIType>

Type Parameters

  • APIType extends {
        _id: string | {
            user: string;
        };
    }

Hierarchy

Constructors

Properties

client: Client
data: APIType
deleted: boolean = false

Accessors

Methods

  • Runs all of the callbacks for this emitter. (meant to run when an update occurs)

    Parameters

    • Optional updated: any[]

      The objects that caused this update.

    Returns void