Sacul
3 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
0 additions and
4 deletions
-
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. |
|
|
|
|
|
|
|
|