From b8527721c2c3a3881e985f2c8d8331d204da4d7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Tue, 1 Aug 2023 11:34:34 +0800 Subject: [PATCH] make lint happy --- coolq/cqcode.go | 1 + 1 file changed, 1 insertion(+) diff --git a/coolq/cqcode.go b/coolq/cqcode.go index 8c37f175d..1ce3dd2ac 100644 --- a/coolq/cqcode.go +++ b/coolq/cqcode.go @@ -263,6 +263,7 @@ func toElements(e []message.IMessageElement, source message.Source) (r []msg.Ele return } +// ToMessageContent 将消息转换成 Content. 忽略 Reply // 不同于 onebot 的 Array Message, 此函数转换出来的 Content 的 data 段为实际类型 // 方便数据库查询 func ToMessageContent(e []message.IMessageElement, source message.Source) (r []global.MSG) {