mirror of
https://github.com/fumiama/ReiBot.git
synced 2026-06-05 17:10:25 +08:00
add 响应通知主人 & 按顺序打印服务
This commit is contained in:
@@ -3,7 +3,6 @@ package echo
|
||||
import (
|
||||
ctrl "github.com/FloatTech/zbpctrl"
|
||||
rei "github.com/fumiama/ReiBot"
|
||||
tgba "github.com/go-telegram-bot-api/telegram-bot-api/v5"
|
||||
)
|
||||
|
||||
func init() {
|
||||
@@ -16,6 +15,6 @@ func init() {
|
||||
if args == "" {
|
||||
return
|
||||
}
|
||||
_, _ = ctx.Caller.Send(tgba.NewMessage(ctx.Message.Chat.ID, args))
|
||||
_, _ = ctx.SendPlainMessage(false, args)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user