From 9506dc21abe07b48c52c07b7f239c6d4a3f9d3b1 Mon Sep 17 00:00:00 2001 From: Mrs4s Date: Tue, 14 Dec 2021 17:53:51 +0800 Subject: [PATCH] style: delete useless return --- coolq/api.go | 1 - 1 file changed, 1 deletion(-) diff --git a/coolq/api.go b/coolq/api.go index 2c6c786..9dab51c 100644 --- a/coolq/api.go +++ b/coolq/api.go @@ -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 {