Skip to content

Add Guild#retrieveRoleMemberCounts#2973

Merged
MinnDevelopment merged 9 commits intodiscord-jda:masterfrom
freya022:feature/get-guild-role-member-counts
Dec 12, 2025
Merged

Add Guild#retrieveRoleMemberCounts#2973
MinnDevelopment merged 9 commits intodiscord-jda:masterfrom
freya022:feature/get-guild-role-member-counts

Conversation

@freya022
Copy link
Copy Markdown
Contributor

Pull Request Etiquette

  • I have checked the PRs for upcoming features/bug fixes.
  • I have read the contributing guidelines.
  • I applied the code formatter to my changes with ./gradlew format

Changes

  • Internal code
  • Library interface (affecting end-user code)
  • Documentation
  • Other: _____

Closes Issue: NaN

Description

Allows users to get a member count of each role.

Docs PR: discord/discord-api-docs#8025

Comment thread src/main/java/net/dv8tion/jda/internal/entities/GuildImpl.java Outdated
Comment thread src/main/java/net/dv8tion/jda/internal/entities/GuildImpl.java Outdated
Comment thread src/main/java/net/dv8tion/jda/internal/entities/RoleMemberCountsImpl.java Outdated
Comment thread src/main/java/net/dv8tion/jda/api/entities/RoleMemberCounts.java
Comment thread src/main/java/net/dv8tion/jda/api/entities/RoleMemberCounts.java
Comment thread src/main/java/net/dv8tion/jda/internal/entities/detached/DetachedGuildImpl.java Outdated
Comment thread src/main/java/net/dv8tion/jda/api/entities/Guild.java
freya022 and others added 5 commits December 11, 2025 18:33
Co-authored-by: MinnDevelopment <business@minnced.club>
IntelliJ moment

Co-authored-by: MinnDevelopment <business@minnced.club>
Co-authored-by: MinnDevelopment <business@minnced.club>
Co-authored-by: MinnDevelopment <business@minnced.club>
Comment thread src/main/java/net/dv8tion/jda/api/entities/RoleMemberCount.java Outdated
Comment thread src/main/java/net/dv8tion/jda/api/entities/RoleMemberCounts.java Outdated
Comment thread src/main/java/net/dv8tion/jda/api/entities/RoleMemberCounts.java Outdated
Comment thread src/main/java/net/dv8tion/jda/api/entities/RoleMemberCounts.java
freya022 and others added 3 commits December 12, 2025 16:52
Co-authored-by: MinnDevelopment <business@minnced.club>
Co-authored-by: MinnDevelopment <business@minnced.club>
Co-authored-by: MinnDevelopment <business@minnced.club>
@MinnDevelopment MinnDevelopment added this pull request to the merge queue Dec 12, 2025
Merged via the queue into discord-jda:master with commit 604b169 Dec 12, 2025
1 check passed
@freya022 freya022 deleted the feature/get-guild-role-member-counts branch December 12, 2025 17:21
MrPowerGamerBR pushed a commit to LorittaBot/DeviousJDA that referenced this pull request Dec 13, 2025
Co-authored-by: MinnDevelopment <business@minnced.club>
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.

2 participants