mirror of
https://github.com/fumiama/ReiBot.git
synced 2026-06-06 09:30:25 +08:00
add 响应通知主人 & 按顺序打印服务
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
func main() {
|
||||
rei.OnMessageFullMatch("help").SetBlock(true).
|
||||
Handle(func(ctx *rei.Ctx) {
|
||||
_, _ = ctx.Caller.Send(tgba.NewMessage(ctx.Message.Chat.ID, "echo string"))
|
||||
_, _ = ctx.SendPlainMessage(false, "echo string")
|
||||
})
|
||||
rei.Run(rei.Bot{
|
||||
Token: "",
|
||||
|
||||
Reference in New Issue
Block a user