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

fix golangci-lint error

This commit is contained in:
wdvxdr 2022-05-26 20:48:11 +08:00
parent 9e136b21fa
commit 5daea94157
No known key found for this signature in database
GPG Key ID: 703F8C071DE7A1B6

View File

@ -625,9 +625,10 @@ func (bot *CQBot) groupDecrease(groupCode, userUin int64, operator *client.Group
if operator != nil { if operator != nil {
if userUin == bot.Client.Uin { if userUin == bot.Client.Uin {
subtype = "kick_me" subtype = "kick_me"
} } else {
subtype = "kick" subtype = "kick"
} }
}
return bot.event("notice/group_decrease/"+subtype, global.MSG{ return bot.event("notice/group_decrease/"+subtype, global.MSG{
"group_id": groupCode, "group_id": groupCode,
"operator_id": op, "operator_id": op,