Get Guild Member#

ORCAcode discord_get_guild_member(struct discord *client, u64_snowflake_t guild_id, u64_snowflake_t user_id, struct discord_guild_member *ret)#

Get guild member of a guild from given user id.

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

  • guild_id – guild the member belongs to

  • user_id – unique user id of member

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

Returns:

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