File tree Expand file tree Collapse file tree
src/main/java/xyz/srnyx/lazylibrary/emoji Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 *
1313 */
1414public final class ApplicationEmojiWrapper extends ApplicationEmojiImpl {
15- @ NotNull private final ApplicationEmoji emoji ;
16-
1715 /**
1816 * Constructs a new ApplicationEmojiWrapper with the provided ApplicationEmoji
1917 *
2018 * @param emoji the ApplicationEmoji to wrap
2119 */
2220 public ApplicationEmojiWrapper (@ NotNull ApplicationEmoji emoji ) {
2321 super (emoji .getIdLong (), (JDAImpl ) emoji .getJDA (), emoji .getOwner ());
24- this .emoji = emoji ;
2522 }
2623
2724 /**
28- * Returns the mention of the emoji (e.g. {@code <:emoji_name:emoji_id>})
25+ * Returns {@link #getAsMention the mention} of the emoji (e.g. {@code <:emoji_name:emoji_id>})
2926 *
3027 * @return the mention of the emoji
3128 */
3229 @ Override @ NotNull
3330 public String toString () {
34- return emoji . getAsMention ();
31+ return getAsMention ();
3532 }
3633}
You can’t perform that action at this time.
0 commit comments