-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Description
When fetching the roles from a guild, it would be very useful if the role structure had a "memberCount" property, similar to the guild.memberCount property currently exposed.
Why This is Needed
This is needed so we can avoid fetching all members just to know if a role is used or not. Currently, the only way to know how a role is used / who a role is assigned to, is to fetch the members to check what roles are assigned to them.
Alternatives Considered
Although there is a workaround, i.e. fetch members and check their roles individually; It would be softer on the discord servers to avoid fetching members info just to obtain role related information.
Additional Details
This is purely to avoid unnecessary API calls. Thanks for considering it!