detritus

Reactionclass

Reaction Structure, used in [Message] we don't store the userIds since we only get them on reaction adds

On this page

Reaction Structure, used in [Message] we don't store the userIds since we only get them on reaction adds

import { Structures } from 'detritus-client';

Structures.Reaction;
15 properties6 methods15 inheritedsrc/structures/reaction.ts:37

Constructor

Properties

burstColors
BaseSet<string>
burstCount
number
Default 0
channelId
string
Default ''
client
readonly
Inherited from BaseStructure.client
count
number
Default 0
countDetails
{ burst: number; normal: number }
emoji
guildId?
string
optional
isPartial
boolean
Default false
me
boolean
Default false
meBurst
boolean
Default false
messageId
string
Default ''

Accessors

canClear
boolean
get
channel
Channel | null
get
guild
Guild | null
get
isClone
boolean
get
Inherited from BaseStructure.isClone
message
Message | null
get
shardId
number
get
Inherited from BaseStructure.shardId

Methods