REPOSITORY / ScuroNeko/Laniakea

Compare commits

DIFF REPOSITORY

Compare commits

...
Author SHA1 Message Date
ScuroNeko a84e24ff25 small fix 2026-02-27 13:53:00 +03:00
-2
View File
@@ -3,7 +3,6 @@ package laniakea
import (
"context"
"fmt"
"log"
"os"
"sort"
"strconv"
@@ -325,7 +324,6 @@ func (bot *Bot[T]) RunWithContext(ctx context.Context) {
pool := pond.NewPool(16)
for update := range bot.updateQueue {
update := update
log.Println(update)
pool.Submit(func() {
bot.handle(update)
})