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:
parent
9e136b21fa
commit
5daea94157
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user