mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-09-21 03:27:42 +00:00
Fix docs for role member counts to not mention manage_roles
This commit is contained in:
@@ -3871,14 +3871,10 @@ class Guild(Hashable):
|
|||||||
|
|
||||||
Retrieves a mapping of roles to the number of members that have it.
|
Retrieves a mapping of roles to the number of members that have it.
|
||||||
|
|
||||||
You must have :attr:`~Permissions.manage_roles` to do this.
|
|
||||||
|
|
||||||
.. versionadded:: 2.7
|
.. versionadded:: 2.7
|
||||||
|
|
||||||
Raises
|
Raises
|
||||||
-------
|
-------
|
||||||
Forbidden
|
|
||||||
You do not have permissions to view the role member counts.
|
|
||||||
HTTPException
|
HTTPException
|
||||||
Retrieving the role member counts failed.
|
Retrieving the role member counts failed.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user