1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-05 19:43:49 +08:00

style: delete useless return

This commit is contained in:
Mrs4s 2021-12-14 17:53:51 +08:00
parent 8da29c292e
commit 9506dc21ab
No known key found for this signature in database
GPG Key ID: 3186E98FA19CE3A7

View File

@ -1606,7 +1606,6 @@ func (bot *CQBot) CQGetGuildMessage(messageID string, noCache bool) global.MSG {
m["message"] = ToFormattedMessage(pull[0].Elements, *source, false)
m["reactions"] = convertReactions(pull[0].Reactions)
bot.InsertGuildChannelMessage(pull[0])
return OK(m)
} else {
channelMsgByDB, err := db.GetGuildChannelMessageByID(messageID)
if err != nil {