Skip to content

Add rare ID and level support for recommended servers#40

Merged
gehongyan merged 3 commits into
masterfrom
recommend-rare
Feb 14, 2026
Merged

Add rare ID and level support for recommended servers#40
gehongyan merged 3 commits into
masterfrom
recommend-rare

Conversation

@gehongyan

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings February 13, 2026 10:04
@github-actions

github-actions Bot commented Feb 13, 2026

Copy link
Copy Markdown

Test Results (All Platforms)

    9 files  ±0      9 suites  ±0   7s ⏱️ ±0s
  379 tests ±0    379 ✅ ±0  0 💤 ±0  0 ❌ ±0 
1 140 runs  ±0  1 140 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit f9d36ae. ± Comparison against base commit 7f33dad.

♻️ This comment has been updated with latest results.

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 pull request adds support for rare (vanity) ID and rare level features for recommended servers in the Kook.Net SDK. These features allow servers with premium "rare" IDs to display additional visual customizations and metadata in the recommendation system.

Changes:

  • Added RareLevel enum to represent the tier system for rare server IDs (None, Primary, Intermediate, Advanced, Premium)
  • Added RareGuildResources struct to expose rare server visual resources (frame images, nameplate images, cover image, descriptions)
  • Extended IRecommendInfo and RecommendInfo with RareId, RareLevel, and Resources properties
  • Added API model RareGuildSettings and updated RecommendInfo API model with rare-related properties

Reviewed changes

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

Show a summary per file
File Description
src/Kook.Net.Core/Entities/Guilds/RareLevel.cs New enum defining the rare ID tier levels
src/Kook.Net.Core/Entities/Guilds/RareGuildResources.cs New struct holding visual resources for rare servers
src/Kook.Net.Core/Entities/Guilds/IRecommendInfo.cs Extended interface with rare ID properties and updated CustomId documentation
src/Kook.Net.Rest/Entities/Guilds/RecommendInfo.cs Implementation updated with rare ID properties and initialization
src/Kook.Net.Rest/API/Common/RecommendInfo.cs API model extended with rare_level, rare_guild_setting, and rare_id fields
src/Kook.Net.Rest/API/Common/RareGuildSettings.cs New API model for deserializing rare guild setting data
src/Kook.Net.Rest/Extensions/EntityExtensions.cs Added ToEntity mapping method for RareGuildSettings

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

Comment thread src/Kook.Net.Rest/Entities/Guilds/RecommendInfo.cs
Comment thread src/Kook.Net.Core/Entities/Guilds/RareGuildResources.cs Outdated
Comment thread src/Kook.Net.Core/Entities/Guilds/RareLevel.cs Outdated
Comment thread src/Kook.Net.Core/Entities/Guilds/IRecommendInfo.cs Outdated
Comment thread src/Kook.Net.Rest/Extensions/EntityExtensions.cs
@gehongyan

Copy link
Copy Markdown
Owner Author

@copilot open a new pull request to apply changes based on the comments in this thread

Copilot AI commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

@gehongyan I've opened a new pull request, #43, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 2 commits February 14, 2026 09:33
…nd documentation (#43)

* Initial plan

* Apply review feedback: fix missing RareLevel assignment, typos, and add VoiceChannelLink

Co-authored-by: gehongyan <21241496+gehongyan@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: gehongyan <21241496+gehongyan@users.noreply.github.com>
@sonarqubecloud

Copy link
Copy Markdown

@gehongyan gehongyan merged commit 1ee93f7 into master Feb 14, 2026
9 checks passed
@gehongyan gehongyan deleted the recommend-rare branch February 14, 2026 02:03
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