hoshii / Exports / ReactionInfo
ReactionInfo
Represents a reaction info
Hierarchy
ReactionInfo
Table of contents
Constructors
Properties
Accessors
Constructors
constructor
• new ReactionInfo(data
, client
)
Create a new ReactionInfo
Parameters
Name | Type | Description |
---|---|---|
data | Payload_ChannelMessageReaction | Payload_ForumTopicReaction | The raw data of the reaction |
client | Client | The client |
Defined in
lib/structures/ReactionInfo.ts:43
Properties
channelID
• channelID: string
The ID of the channel the reaction is in
Defined in
lib/structures/ReactionInfo.ts:16
client
• client: Client
The client
Defined in
lib/structures/ReactionInfo.ts:21
createdBy
• createdBy: string
The ID of the user who created the reaction
Defined in
lib/structures/ReactionInfo.ts:26
data
• data: Payload_ChannelMessageReaction
| Payload_ForumTopicReaction
The raw data of the reaction
Defined in
lib/structures/ReactionInfo.ts:31
emote
• emote: RawEmote
The raw emote of the reaction
Defined in
lib/structures/ReactionInfo.ts:36
Accessors
creator
• get
creator(): ServerMember
| { id
: string
}
The creator of the reaction
Returns
ServerMember
| { id
: string
}