Skip to content

export Class

Reactions ​

extends ​

Builder

Represents an array of reactions.

Constructor ​

ts
new Reactions( ...emojis )
ParameterTypeDescription
...emojisEmojis[]The emojis of what the payload should contain.

Methods ​

add( emoji ) ​

Adds an emoji to the current payload.

ParameterTypeDescription
emojiEmojisThe emoji to add to the current payload.

Returns: Reactions