Create Reaction#

ORCAcode discord_create_reaction(struct discord *client, u64_snowflake_t channel_id, u64_snowflake_t message_id, u64_snowflake_t emoji_id, const char emoji_name[])#

Create a reaction for the message.

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

  • channel_id – the channel that the message belongs to

  • message_id – the message to receive a reaction

  • emoji_id – the emoji id (leave as 0 if not a custom emoji)

  • emoji_name – the emoji name

Returns:

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