getEmoji

open suspend fun getEmoji(guildId: Snowflake, emojiId: Snowflake): GuildEmoji(source)

Requests the GuildEmoji with the emojiId in the Guild wit the given guildId.

Throws

if something went wrong while retrieving the emoji.

if the emoji was null.