Information about a Doc's reaction.

Hierarchy

Constructors

Properties

Accessors

Constructors

Properties

channelID: string

Channel where the reaction was added/removed.

client: Client
docID: number

ID of the doc where the reaction was added/removed.

emoji: APIEmote

Emote.

reactorID: string

ID of the user who added the reaction.

type: string

The type of the parent entity.

Accessors

  • get doc(): Doc | {
        channelID: string;
        guild: Guild | {
            id?: string;
        };
        id: number;
    }
  • The doc where the reaction has been added. If the doc is cached, it'll return a Doc component, otherwise it'll return basic information about this doc.

    Returns Doc | {
        channelID: string;
        guild: Guild | {
            id?: string;
        };
        id: number;
    }

  • get reactor(): Member | {
        id: string;
    }
  • Cached member. If member isn't cached will return an object with the member's id.

    Returns Member | {
        id: string;
    }