small fix

This commit is contained in:
2026-02-27 13:53:00 +03:00
parent c0a26024f4
commit a84e24ff25

2
bot.go
View File

@@ -3,7 +3,6 @@ package laniakea
import ( import (
"context" "context"
"fmt" "fmt"
"log"
"os" "os"
"sort" "sort"
"strconv" "strconv"
@@ -325,7 +324,6 @@ func (bot *Bot[T]) RunWithContext(ctx context.Context) {
pool := pond.NewPool(16) pool := pond.NewPool(16)
for update := range bot.updateQueue { for update := range bot.updateQueue {
update := update update := update
log.Println(update)
pool.Submit(func() { pool.Submit(func() {
bot.handle(update) bot.handle(update)
}) })