Class ReactionImpl
java.lang.Object
com.mewna.catnip.entity.impl.message.ReactionImpl
- All Implemented Interfaces:
Message.Reaction
- Since:
- 8/5/19.
- Author:
- amy
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ReactionImpl
public ReactionImpl() -
ReactionImpl
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
toString
-
builder
-
count
public int count()Description copied from interface:Message.Reaction
The count of reactions.- Specified by:
count
in interfaceMessage.Reaction
- Returns:
- Integer representing how many reactions were added.
-
self
public boolean self()Description copied from interface:Message.Reaction
Whether the current logged in account added this reaction.- Specified by:
self
in interfaceMessage.Reaction
- Returns:
- True if the current account added this reaction, false otherwise.
-
emoji
Description copied from interface:Message.Reaction
The emojis representing this reaction.- Specified by:
emoji
in interfaceMessage.Reaction
- Returns:
- Emoji object of this reaction.
-
count
- Returns:
this
.
-
self
- Returns:
this
.
-
emoji
- Returns:
this
.
-