Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add group level api #2115

Merged
merged 42 commits into from
Sep 21, 2022
Merged

add group level api #2115

merged 42 commits into from
Sep 21, 2022

Conversation

cssxsh
Copy link
Contributor

@cssxsh cssxsh commented Jun 24, 2022

添加群聊等级 api

@Him188 Him188 added t:feature 类型: 新特性 x:protocol 属性: 协议相关 s:core 子系统: mirai-core labels Jun 25, 2022
@cssxsh
Copy link
Contributor Author

cssxsh commented Jun 25, 2022

接下来 打算 把 getRawGroupHonorListData 和 getRawGroupActiveData
转移到 active 包
先对api进行一下测试,看看返回的内容

@Him188 Him188 marked this pull request as draft June 26, 2022 03:08
@Him188
Copy link
Member

Him188 commented Jun 26, 2022

用户等级叫 level,要不群聊等级叫 rank 吧

@cssxsh
Copy link
Contributor Author

cssxsh commented Jun 26, 2022

用户等级叫 level,要不群聊等级叫 rank 吧

好的

@cssxsh cssxsh requested review from Him188 and Karlatemp July 2, 2022 04:49
@cssxsh cssxsh marked this pull request as ready for review August 24, 2022 13:20
@cssxsh cssxsh requested review from sandtechnology and Him188 and removed request for Karlatemp, sandtechnology and Him188 August 24, 2022 13:21
@Him188 Him188 linked an issue Aug 25, 2022 that may be closed by this pull request
@Him188
Copy link
Member

Him188 commented Aug 25, 2022

在解决 review 问题后, 请点 'Resolve conversation'

@Him188 Him188 added this to the 2.13.0-RC milestone Aug 26, 2022
Copy link
Member

@Him188 Him188 left a comment

Choose a reason for hiding this comment

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

然后添加 @since 2.13 就可以了

@cssxsh cssxsh requested a review from Him188 September 12, 2022 20:13
@Him188
Copy link
Member

Him188 commented Sep 13, 2022

完成修改后请点 'Resolve conversation'!

@Him188 Him188 requested a review from Karlatemp September 16, 2022 05:37
@Him188 Him188 requested a review from Karlatemp September 20, 2022 10:59
@Him188 Him188 requested a review from Karlatemp September 21, 2022 04:53
@Him188 Him188 merged commit d000f2e into mamoe:dev Sep 21, 2022
@Him188 Him188 deleted the feat_group_level branch September 21, 2022 15:18
@aleck099
Copy link

@cssxsh 在 ANDROID_PAD 协议下获取的所有rank都是 1 级
是不是因为ANDROID_PAD不支持ranks

@aleck099
Copy link

在 ANDROID_PHONE 协议下获取到的rank也全是 1 级

@cssxsh
Copy link
Contributor Author

cssxsh commented Jan 24, 2023

@cssxsh 在 ANDROID_PAD 协议下获取的所有rank都是 1 级 是不是因为ANDROID_PAD不支持ranks

rank (1-6) 是旧版的群等级,目前处于半废弃状态,官方客户端中只有pc客户端能看到
而且新群一般都没有这个等级了

建议你使用 temperature (1-100) 这个手机端中显示的活跃度等级

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s:core 子系统: mirai-core t:feature 类型: 新特性 x:protocol 属性: 协议相关
Projects
None yet
6 participants