Fix docs for role member counts to not mention manage_roles

This commit is contained in:
Sacul authored and GitHub committed 2026-07-09 19:19:40 -04:00
1 parent 97871a1b96
commit 34c66665dd
1 file changed
-4
-4
View File
@@ -3871,14 +3871,10 @@ class Guild(Hashable):
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
Raises
-------
Forbidden
You do not have permissions to view the role member counts.
HTTPException
Retrieving the role member counts failed.