-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Document role member counts endpoint #8025
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Duplicate of #8021 smh my head |
Why is this a duplicate? |
|
|
||
| Returns a map of role IDs to the number of members with the role. Does not include the @everyone role. | ||
|
|
||
| ###### Example Response |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this is a mapping but should we also create a table to show what the values are?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can propose my table 😅
A mapping of role IDs to the number of members with that role.
| Field | Type | Description |
|------------|-----------|-------------------------------------------|
| \{role.id} | integer | number of members with the role |There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so - usually we don't
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, looks good to me!
anthonydiscord
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me, up to you if you think this makes sense to add a table too. I'll create an announce for it once it's in!
No description provided.