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