1
0
mirror of https://github.com/fumiama/ReiBot.git synced 2026-06-05 00:50:25 +08:00

多线程

This commit is contained in:
源文雨
2022-06-11 14:37:24 +08:00
parent 27842b6fdf
commit 2e1dd2a66a

View File

@@ -52,7 +52,7 @@ func (tc *TelegramClient) processEvent(update tgba.Update) {
case "CallbackQuery":
ctx.Message = (*tgba.CallbackQuery)(f.UnsafePointer()).Message
}
match(ctx, matchers)
go match(ctx, matchers)
continue
}
h, ok := tc.b.handlers[tp]