1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-06 12:03:50 +08:00

ci: fix lint by adding // nolint

This commit is contained in:
wdvxdr 2021-12-17 12:44:53 +08:00
parent 5a180cb8c2
commit 20ce02f0c9
No known key found for this signature in database
GPG Key ID: 703F8C071DE7A1B6

View File

@ -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)