Skip to content

Document role member counts endpoint#8025

Merged
advaith1 merged 2 commits into
mainfrom
role-member-counts
Dec 10, 2025
Merged

Document role member counts endpoint#8025
advaith1 merged 2 commits into
mainfrom
role-member-counts

Conversation

@advaith1

@advaith1 advaith1 commented Dec 9, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@wasdennnoch

Copy link
Copy Markdown
Contributor

Duplicate of #8021 smh my head

@vakiliner

Copy link
Copy Markdown
Contributor

Duplicate of #8021 smh my head

Why is this a duplicate?

Comment thread docs/resources/guild.mdx

Returns a map of role IDs to the number of members with the role. Does not include the @everyone role.

###### Example Response

Copy link
Copy Markdown
Contributor

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?

Copy link
Copy Markdown
Contributor

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           |

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

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 anthonydiscord left a comment

Copy link
Copy Markdown
Contributor

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!

@advaith1
advaith1 merged commit d7bb120 into main Dec 10, 2025
5 checks passed
@advaith1
advaith1 deleted the role-member-counts branch December 10, 2025 23:42
sebm253 added a commit to disgoorg/disgo that referenced this pull request Dec 11, 2025
arqunis pushed a commit to serenity-rs/serenity that referenced this pull request Dec 13, 2025
DonovanDMC added a commit to OceanicJS/Oceanic that referenced this pull request Dec 29, 2025
colinloretz added a commit that referenced this pull request Feb 12, 2026
colinloretz added a commit that referenced this pull request Feb 12, 2026
* readd Get Guild Role Member Counts #8025

* Fix CREATE_GUILD_EXPRESSIONS and CREATE_EVENTS #7991

* Readd heading correct. #8081

* Readd changes from #8080

* Reword remove -> increase from #8097

* Readd invite changes from #8090

* Fixup changes from #8115

* Update developers/resources/invite.mdx

Co-authored-by: Anthony <[email protected]>

* tables

---------

Co-authored-by: Anthony <[email protected]>
xavier-archlinux-tw pushed a commit to xavier-archlinux-tw/discord-api-docs that referenced this pull request Jul 14, 2026
* Document role member counts endpoint

* changelog
xavier-archlinux-tw pushed a commit to xavier-archlinux-tw/discord-api-docs that referenced this pull request Jul 14, 2026
* readd Get Guild Role Member Counts discord#8025

* Fix CREATE_GUILD_EXPRESSIONS and CREATE_EVENTS discord#7991

* Readd heading correct. discord#8081

* Readd changes from discord#8080

* Reword remove -> increase from discord#8097

* Readd invite changes from discord#8090

* Fixup changes from discord#8115

* Update developers/resources/invite.mdx

Co-authored-by: Anthony <[email protected]>

* tables

---------

Co-authored-by: Anthony <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants