Skip to content

Fix/fix unkwon mmeber#94

Open
TheBjoRedCraft wants to merge 3 commits into
version/6.0.0from
fix/fix-unkwon-mmeber
Open

Fix/fix unkwon mmeber#94
TheBjoRedCraft wants to merge 3 commits into
version/6.0.0from
fix/fix-unkwon-mmeber

Conversation

@TheBjoRedCraft

Copy link
Copy Markdown
Member

No description provided.

@TheBjoRedCraft TheBjoRedCraft self-assigned this Jun 8, 2026
Copilot AI review requested due to automatic review settings June 8, 2026 14:02

Copilot AI 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.

Pull request overview

This PR updates the premium-role sync logic to avoid failures when a Discord user is no longer a guild member, and bumps the project version.

Changes:

  • Replace role updates that targeted UserSnowflake with a safer “retrieve member then update role” flow.
  • Increment project version in gradle.properties.

Reviewed changes

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

File Description
src/main/kotlin/dev/slne/surf/discord/premium/PremiumService.kt Retrieves members before role add/remove to handle “unknown member” cases; removes unused UserSnowflake import.
gradle.properties Bumps version from 6.0.30 to 6.0.31.

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

Comment thread src/main/kotlin/dev/slne/surf/discord/premium/PremiumService.kt
Comment thread src/main/kotlin/dev/slne/surf/discord/premium/PremiumService.kt
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.

2 participants