revbot.js
    Preparing search index...

    Class Presence

    Represents the presence of a user, including their status and custom text.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    client: client

    The client instance.

    id: string

    The unique identifier for the object.

    status: Status = Status.Invisible

    The current status of the user (e.g., Online, Idle, Busy, Invisible).

    text: null | string = null

    The custom status text of the user, or null if none is set.

    Methods

    • Updates the object with new data and returns a clone of the object.

      Parameters

      • data: PartialObject

        The data to update the object with.

      • Optionalclear: string[]

        Fields to clear in the object.

      Returns this

      A clone of the updated object.