mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-07 17:39:03 +00:00
Fix docs for role member counts to not mention manage_roles
This commit is contained in:
1 parent
97871a1b96
commit
34c66665dd
1 file changed
-4
@@ -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