From 75ad7aa45c1080fc21af4e8eff61898767a48d10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=99=9E=E7=81=AA?= <995645888@qq.com> Date: Tue, 1 Aug 2023 11:25:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=92=8C=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E4=B8=8D=E4=B8=80=E8=87=B4=E7=9A=84=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=20(#2189)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: 修复获取群荣誉列表群聊之火键名错误问题 * fix: 修复获取版本信息,错误的go-cqhttp字段 --- coolq/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coolq/api.go b/coolq/api.go index 7749832..72d29b4 100644 --- a/coolq/api.go +++ b/coolq/api.go @@ -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",