revbot.js
    Preparing search index...

    Class Emoji

    Represents an emoji in the client.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    client: client

    The client instance.

    creator_id?: null | string = null

    The ID of the user who created the emoji, or null if not available.

    id: string

    The unique identifier for the object.

    name?: null | string = null

    The name of the emoji, or null if not set.

    parent?: null | { id: string; type: string } = null

    The parent object of the emoji, which can be a server or other entity.

    Accessors

    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.