Skip to content

DiscordReaction

Extends

  • LitElement

Implements

Constructors

new DiscordReaction()

new DiscordReaction(): DiscordReaction

Returns

DiscordReaction

Inherited from

LitElement.constructor

Accessors

count

The number of people who reacted.

Default Value

1

emoji

The reaction emoji image URL.


interactive

Whether the reaction should be reactive.

Remarks

When the reaction is interactive left clicking it will add 1 to the counter. Whereas when holding the Shift key and left clicking it will decrease the counter. The counter cannot go below 1.

Default Value

false

lightTheme

Implementation of

LightTheme.lightTheme


name

The name of the emoji to use as alternative image text.

Default Value

':emoji'

reacted

Whether the reaction should show as reacted by the user.

Default Value

false