Remove Thread Member

ORCAcode discord_remove_thread_member(struct discord *client, u64_snowflake_t channel_id, u64_snowflake_t user_id)

Removes another member from a un-archived thread.

Note

Fires a Thread Members Update event

Note

Requires MANAGE_THREADS permission

Parameters
  • client – the client created with discord_init()

  • channel_id – the thread to be removed from

  • user_id – user to be removed

Returns

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