mirror of
https://github.com/fumiama/ReiBot.git
synced 2026-06-07 10:00:24 +08:00
add 响应通知主人 & 按顺序打印服务
This commit is contained in:
2
rules.go
2
rules.go
@@ -529,7 +529,7 @@ func MustProvidePhoto(needphohint, failhint string) Rule {
|
||||
select {
|
||||
case <-time.After(time.Second * 120):
|
||||
if failhint != "" {
|
||||
_, _ = ctx.Caller.Send(tgba.NewMessage(msg.Chat.ID, failhint))
|
||||
_, _ = ctx.SendPlainMessage(true, failhint)
|
||||
}
|
||||
return false
|
||||
case newCtx := <-next:
|
||||
|
||||
Reference in New Issue
Block a user