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:
parent
5a180cb8c2
commit
20ce02f0c9
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user