An emoji library that uses Discord's definitions
Switch branches/tags
Nothing to show
Clone or download
Latest commit 4106337 Apr 30, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src javadocs and refactoring Apr 29, 2017
LICENSE Create LICENSE Apr 29, 2017
README.md Update README.md Apr 29, 2017
pom.xml Initial commit Apr 28, 2017

README.md

DiscordEmoji4J

An emoji library that uses Discord's definitions

how to use this steaming pile of garbage

EmojiRegistry.getGlobalEmojis(); // get global emojis, like :raised_hands:
EmojiRegistry registry = new EmojiRegistry(); // create an EmojiRegistry
registry.getEmojiByUnicode("\uD83D\uDE4C\uD83C\uDFFD"); // get an emoji from its unicode form
CustomEmoji emoji = new CustomEmoji(69, "meme", 420); // creates a custom emoji with the id 69, alias meme, and guild id 420
registry.registerEmoji(emoji); // register it with the registry
registry.getEmojis(); // get all local emojis for this registry
registry.getEmojiByAlias("meme"); // get an emoji with the alias meme