Get Guild Emoji#

ORCAcode discord_get_guild_emoji(struct discord *client, u64_snowflake_t guild_id, u64_snowflake_t emoji_id, struct discord_emoji *ret)#

Get a specific emoji from a guild.

Parameters:
  • client – the client created with discord_init()

  • guild_id – guild the emoji belongs to

  • emoji_id – the emoji to be fetched

  • ret – if successful, a discord_emoji that should be free’d with discord_emoji_cleanup()

Returns:

ORCAcode for how the operation went, ORCA_OK means nothing out of the ordinary