Class CustomEmojiImpl

    • Field Detail

      • name

        protected volatile String name
        The name of the emoji.
    • Constructor Detail

      • CustomEmojiImpl

        public CustomEmojiImpl​(DiscordApiImpl api,
                               com.fasterxml.jackson.databind.JsonNode data)
        Creates a new custom emoji.
        Parameters:
        api - The discord api instance.
        data - The json data of the emoji.
      • CustomEmojiImpl

        public CustomEmojiImpl​(DiscordApiImpl api,
                               long id,
                               String name,
                               boolean animated)
        Creates a new custom emoji.
        Parameters:
        api - The discord api instance.
        id - The id of the emoji.
        name - The name of the emoji.
        animated - Whether the emoji is animated or not.