Modify Guild Role Positions¶
-
ORCAcode discord_modify_guild_role_positions(struct discord *client, u64_snowflake_t guild_id, struct discord_modify_guild_role_positions_params **params, struct discord_role ***ret)¶
Modify the positions of a given role list for the guild.
Note
Requires the MANAGE_ROLES permission
Note
Fires multiple
Guild Role Update
events- Parameters
client – the client created with discord_init()
guild_id – the unique id of the guild to get welcome screen of
params – request parameters
ret – if successful, a null-terminated list of discord_role, that should be free’d with
discord_role_list_free()
- Returns
ORCAcode for how the operation went, ORCA_OK means nothing out of the ordinary
Warning
doxygenstruct: Cannot find class “discord_modify_guild_role_positions_params” in doxygen xml output for project “Orca” from directory: ../xml