Remove Guild Member¶
-
ORCAcode discord_remove_guild_member(struct discord *client, u64_snowflake_t guild_id, u64_snowflake_t user_id)¶
Remove a member from a guild.
Note
Requires the KICK_MEMBERS permission
Note
Fires a
Guild Member Update
event- Parameters
client – the client created with discord_init()
guild_id – the guild to remove the member from
user_id – the user to be removed
- Returns
ORCAcode for how the operation went, ORCA_OK means nothing out of the ordinary