From 2a4ba85b93c01d8729bc6bfc0b67058432764824 Mon Sep 17 00:00:00 2001 From: Ilia Denisov Date: Fri, 5 Sep 2025 02:01:21 +0300 Subject: [PATCH] remove bot's updates logging --- internal/tgbot/tgbot.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/internal/tgbot/tgbot.go b/internal/tgbot/tgbot.go index fb5ff26..329c5b2 100644 --- a/internal/tgbot/tgbot.go +++ b/internal/tgbot/tgbot.go @@ -2,7 +2,6 @@ package tgbot import ( "context" - "fmt" "log/slog" "github.com/go-telegram/bot" @@ -38,8 +37,4 @@ func (b *tgBot) Start() { go b.b.Start(b.ctx) } -func (b *tgBot) updateHandler(ctx context.Context, _ *bot.Bot, update *models.Update) { - if update != nil { - b.log.Info(fmt.Sprintf("update:\n%#v\n", *update)) - } -} +func (b *tgBot) updateHandler(ctx context.Context, _ *bot.Bot, _ *models.Update) {}