Fix docs for role member counts to not mention manage_roles

This commit is contained in:
Sacul
2026-07-09 19:19:40 -04:00
committed by GitHub
parent 97871a1b96
commit 34c66665dd
-4
View File
@@ -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.