Manages API methods for roles and stores their cache.
The client that instantiated this Manager
@everyonerole of the guild
The guild belonging to this manager
The role with the highest position in the cache
Gets the managed role a user created when joining the guild, if any Only ever available for bots
Compares the positions of two roles.
ReturnsNegative number if the first role's position is lower (second role's is higher), positive number if the first's is higher (second's is lower), 0 if equal
Creates a new role in the guild with given information. The position will silently reset to 1 if an invalid one is provided, or none.
Deletes a role.
Edits a role of the guild.
Sets the new position of the role.
Batch-updates the guild's role positions