From 20ce02f0c98e044182b3366aa0b16557313e54e9 Mon Sep 17 00:00:00 2001 From: wdvxdr Date: Fri, 17 Dec 2021 12:44:53 +0800 Subject: [PATCH] ci: fix lint by adding `// nolint` --- coolq/api.go | 1 + 1 file changed, 1 insertion(+) diff --git a/coolq/api.go b/coolq/api.go index 74d511b..55c1929 100644 --- a/coolq/api.go +++ b/coolq/api.go @@ -1596,6 +1596,7 @@ func (bot *CQBot) CQGetGuildMessage(messageID string, noCache bool) global.MSG { "guild_id": fU64(source.PrimaryID), "reactions": []int{}, } + // nolint: exhaustive switch source.SourceType { case MessageSourceGuildChannel: m["channel_id"] = fU64(source.SubID)