mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-09-20 19:17: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.
|
||||
|
||||
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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user