mirror of
https://github.com/fumiama/ReiBot.git
synced 2026-06-05 00:50:25 +08:00
多线程
This commit is contained in:
2
event.go
2
event.go
@@ -52,7 +52,7 @@ func (tc *TelegramClient) processEvent(update tgba.Update) {
|
|||||||
case "CallbackQuery":
|
case "CallbackQuery":
|
||||||
ctx.Message = (*tgba.CallbackQuery)(f.UnsafePointer()).Message
|
ctx.Message = (*tgba.CallbackQuery)(f.UnsafePointer()).Message
|
||||||
}
|
}
|
||||||
match(ctx, matchers)
|
go match(ctx, matchers)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
h, ok := tc.b.handlers[tp]
|
h, ok := tc.b.handlers[tp]
|
||||||
|
|||||||
Reference in New Issue
Block a user