Skip to content

Commit

Permalink
make lint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Aug 1, 2023
1 parent 14539ad commit b852772
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions coolq/cqcode.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b852772

Please sign in to comment.