Registering custom emojis
Your plugin can register custom emojis with the built-in EmojiManager
:
Registering a custom emoji
var category = "social"; // The category of this emoji. We recommend using your plugin's name.
var name = "dog"; // The unique name of this emoji
List<String> aliases = List.of("puppy"); // Aliases of this emoji
var unicodeCharacter = "🐶"; // Unicode character of this emoji
var emoji = new Emoji(name, aliases, unicodeCharacter);
Social.get().getEmojiManager().register(category, emoji).