Skip to content

Fix/fix unkwon mmeber#94

Merged
ammodev merged 5 commits into
version/6.0.0from
fix/fix-unkwon-mmeber
Jul 3, 2026
Merged

Fix/fix unkwon mmeber#94
ammodev merged 5 commits into
version/6.0.0from
fix/fix-unkwon-mmeber

Conversation

@TheBjoRedCraft

Copy link
Copy Markdown
Contributor

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
@ammodev ammodev added this pull request to the merge queue Jul 3, 2026
Merged via the queue into version/6.0.0 with commit 3d1de81 Jul 3, 2026
@ammodev ammodev deleted the fix/fix-unkwon-mmeber branch July 3, 2026 20:21
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.

3 participants