public KnownCustomEmoji getOrCreateKnownCustomEmoji ( Server server , JsonNode data ) { long id = Long . parseLong ( data . get ( "id" ) . asText ( ) ) ; return customEmojis . computeIfAbsent ( id , key -> new KnownCustomEmojiImpl ( this , server , data ) ) ; }
Gets or creates a new known custom emoji object .