Class Emote
java.lang.Object
com.zhamty.emoteschat.api.Emote
Represents an emote object.
-
Constructor Details
-
Emote
-
-
Method Details
-
getCode
Returns current emote code. Example: ":happy:"- Returns:
- Current emote code.
- Since:
- 1.2
-
getEmote
-
getName
Returns current emote name. Example: "happy"- Returns:
- Current emote name.
- Since:
- 1.2
-
getPermission
Returns the required permission for this emote or null. Example: "emoteschat.emote.happy"- Returns:
- Required permission or null.
- Since:
- 2.0
-
isPermissionRequired
public boolean isPermissionRequired()- Returns:
- `true` if there is a required permission for this emote, `false` otherwise.
- Since:
- 2.0
-