Browse Source

Fix docs, manage_roles is not needeed

pull/10454/head
Sacul 1 month ago
committed by GitHub
parent
commit
ed5a0587c6
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      discord/guild.py

4
discord/guild.py

@ -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.

Loading…
Cancel
Save