Create Guild Emoji¶
-
ORCAcode discord_create_guild_emoji(struct discord *client, u64_snowflake_t guild_id, struct discord_create_guild_emoji_params *params, struct discord_emoji *ret)¶
Create a new emoji for the guild.
Note
Fires a
Guild Emojis Update
event- Parameters
client – the client created with discord_init()
guild_id – guild to add the new emoji to
params – request parameters
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
Warning
doxygenstruct: Cannot find class “discord_create_guild_emoji_params” in doxygen xml output for project “Orca” from directory: ../xml