mirror of
https://github.com/fumiama/ReiBot.git
synced 2026-06-05 17:10:25 +08:00
add more
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user