1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-06 20:13:50 +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,8 +625,9 @@ func (bot *CQBot) groupDecrease(groupCode, userUin int64, operator *client.Group
if operator != nil {
if userUin == bot.Client.Uin {
subtype = "kick_me"
} else {
subtype = "kick"
}
subtype = "kick"
}
return bot.event("notice/group_decrease/"+subtype, global.MSG{
"group_id": groupCode,