Remove Guild Ban#

ORCAcode discord_remove_guild_ban(struct discord *client, u64_snowflake_t guild_id, u64_snowflake_t user_id)#

Remove the ban for a user.

Note

Requires the BAN_MEMBERS permission

Note

Fires a Guild Ban Remove event

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

  • guild_id – guild the user belonged to

  • user_id – the user to have its ban revoked

Returns:

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