This commit is contained in:
2026-02-12 11:47:58 +03:00
parent 3912beefac
commit 9ef9a240a4
4 changed files with 12 additions and 10 deletions

6
bot.go
View File

@@ -262,12 +262,6 @@ func (b *Bot) Run() {
middleware.Execute(ctx, b.dbContext)
}
for _, plugin := range b.plugins {
if plugin.UpdateListener != nil {
(*plugin.UpdateListener)(ctx, b.dbContext)
}
}
if u.CallbackQuery != nil {
b.handleCallback(u, ctx)
} else {