List Guild Emojis

ORCAcode discord_list_guild_emojis(struct discord *client, u64_snowflake_t guild_id, struct discord_emoji ***ret)

Get emojis of a given guild.

Parameters
  • client – the client created with discord_init()

  • guild_id – guild to get emojis from

  • ret – if successful, a null-terminated list of discord_emoji, that should be free’d with discord_emoji_list_free()

Returns

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