Skip to content

Conversation

@almeidx
Copy link
Member

@almeidx almeidx commented Dec 9, 2025

Please describe the changes this PR makes and why it should be merged:

If applicable, please reference Discord API Docs PRs or commits that influenced this PR:

Copilot AI review requested due to automatic review settings December 9, 2025 21:11
@almeidx almeidx requested a review from a team as a code owner December 9, 2025 21:11
@vercel
Copy link

vercel bot commented Dec 9, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
discord-api-types Ready Ready Preview Comment Dec 9, 2025 9:21pm

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR promotes the guild role member counts endpoint from unstable to stable status by removing @unstable tags from v10 and backporting the endpoint to v9 with full documentation.

  • Removes @unstable annotations from v10 route and type definitions
  • Adds the guild role member counts endpoint to v9 API with complete documentation
  • Provides clear documentation explaining that the endpoint returns role ID to member count mappings, excluding the @everyone role

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
rest/v9/index.ts Adds the guildRoleMemberCounts route method for accessing the endpoint
rest/v9/guild.ts Defines the RESTGetAPIGuildRoleMemberCountsResult type with documentation
rest/v10/index.ts Removes @unstable tag from the guildRoleMemberCounts route
rest/v10/guild.ts Removes @unstable tag and adds comprehensive documentation to the result type
deno/rest/v9/mod.ts Mirrors the v9 route addition for Deno runtime
deno/rest/v9/guild.ts Mirrors the v9 type definition for Deno runtime
deno/rest/v10/mod.ts Mirrors the v10 route stabilization for Deno runtime
deno/rest/v10/guild.ts Mirrors the v10 type stabilization for Deno runtime

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@almeidx almeidx changed the title feat: mark guild member role counts endpoint as stable feat: mark guild role member counts endpoint as stable Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants