mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 05:30:07 +08:00
🐛 Fix 进群欢迎&退群提醒
This commit is contained in:
parent
4f5d4e0e1c
commit
c8852927db
@ -248,7 +248,7 @@ func (_ manager) Start() { // 插件主体
|
||||
// TODO 退群提醒
|
||||
zero.OnNotice().SetBlock(false).SetPriority(40).
|
||||
Handle(func(matcher *zero.Matcher, event zero.Event, state zero.State) zero.Response {
|
||||
if event.NoticeType == "group_increase" {
|
||||
if event.NoticeType == "group_decrease" {
|
||||
zero.Send(event, "有人跑路了~")
|
||||
}
|
||||
return zero.SuccessResponse
|
||||
|
||||
Loading…
Reference in New Issue
Block a user