hoshii / Exports / ReactionInfo

ReactionInfo

Represents a reaction info

Hierarchy

Table of contents

Constructors

Properties

Accessors

Constructors

constructor

new ReactionInfo(data, client)

Create a new ReactionInfo

Parameters

NameTypeDescription
dataPayload_ChannelMessageReaction | Payload_ForumTopicReactionThe raw data of the reaction
clientClientThe client

Defined in

lib/structures/ReactionInfo.ts:43open in new window

Properties

channelID

channelID: string

The ID of the channel the reaction is in

Defined in

lib/structures/ReactionInfo.ts:16open in new window


client

client: Client

The client

Defined in

lib/structures/ReactionInfo.ts:21open in new window


createdBy

createdBy: string

The ID of the user who created the reaction

Defined in

lib/structures/ReactionInfo.ts:26open in new window


data

data: Payload_ChannelMessageReaction | Payload_ForumTopicReaction

The raw data of the reaction

Defined in

lib/structures/ReactionInfo.ts:31open in new window


emote

emote: RawEmote

The raw emote of the reaction

Defined in

lib/structures/ReactionInfo.ts:36open in new window

Accessors

creator

get creator(): ServerMember | { id: string }

The creator of the reaction

Returns

ServerMember | { id: string }

Defined in

lib/structures/ReactionInfo.ts:66open in new window

Last Updated:
Contributors: Reinhardt