Delete Channel Permission#

ORCAcode discord_delete_channel_permission(struct discord *client, u64_snowflake_t channel_id, u64_snowflake_t overwrite_id)#

Delete a channel permission overwrite for a user or role in a channel.

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

  • channel_id – the channel to the permission deleted

  • overwrite_id – the id of the overwritten permission

Returns:

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