mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-04 11:07:39 +08:00
fix: 修复和文档不一致的数据 (#2189)
* fix: 修复获取群荣誉列表群聊之火键名错误问题 * fix: 修复获取版本信息,错误的go-cqhttp字段
This commit is contained in:
parent
cffdfd8181
commit
75ad7aa45c
@ -1390,7 +1390,7 @@ func (bot *CQBot) CQGetGroupHonorInfo(groupID int64, t string) global.MSG {
|
||||
|
||||
if t == "performer" || t == "all" {
|
||||
if honor, err := bot.Client.GetGroupHonorInfo(groupID, client.Performer); err == nil {
|
||||
msg["performer_lis"] = convertMem(honor.ActorList)
|
||||
msg["performer_list"] = convertMem(honor.ActorList)
|
||||
}
|
||||
}
|
||||
|
||||
@ -2032,7 +2032,7 @@ func (bot *CQBot) CQGetVersionInfo() global.MSG {
|
||||
"protocol_version": "v11",
|
||||
"coolq_directory": wd,
|
||||
"coolq_edition": "pro",
|
||||
"go-cqhttp": true,
|
||||
"go_cqhttp": true,
|
||||
"plugin_version": "4.15.0",
|
||||
"plugin_build_number": 99,
|
||||
"plugin_build_configuration": "release",
|
||||
|
Loading…
x
Reference in New Issue
Block a user