1
0
mirror of https://github.com/fumiama/ReiBot.git synced 2026-06-07 10:00:24 +08:00

add 响应通知主人 & 按顺序打印服务

This commit is contained in:
源文雨
2022-10-06 21:13:47 +08:00
parent 3d4c3d447f
commit 4bf573933b
7 changed files with 175 additions and 51 deletions

View File

@@ -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: