Browse Source

Merge ed5a0587c6 into 2fbed93624

pull/10454/merge
Sacul 1 month ago
committed by GitHub
parent
commit
c4d270fe19
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. 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.

Loading…
Cancel
Save