1
0
mirror of https://github.com/fumiama/ReiBot.git synced 2026-06-05 17:10:25 +08:00
This commit is contained in:
源文雨
2022-06-02 19:33:20 +08:00
parent c1610cd5be
commit 131fd9727c
8 changed files with 98 additions and 36 deletions

View File

@@ -8,7 +8,7 @@ import (
)
func main() {
rei.OnMessageFullMatch("help").SetBlock(true).SecondPriority().
rei.OnMessageFullMatch("help").SetBlock(true).
Handle(func(ctx *rei.Ctx) {
msg := ctx.Value.(*tgba.Message)
_, _ = ctx.Caller.Send(tgba.NewMessage(msg.Chat.ID, "echo string"))