Get Guild Invites#

ORCAcode discord_get_guild_invites(struct discord *client, u64_snowflake_t guild_id, struct discord_invite ***ret)#

Get guild invites.

Note

requires the MANAGE_GUILD permission

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

  • guild_id – the unique id of the guild to get invites from

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

Returns:

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