remove bot's updates logging
This commit is contained in:
@@ -2,7 +2,6 @@ package tgbot
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
|
||||||
"log/slog"
|
"log/slog"
|
||||||
|
|
||||||
"github.com/go-telegram/bot"
|
"github.com/go-telegram/bot"
|
||||||
@@ -38,8 +37,4 @@ func (b *tgBot) Start() {
|
|||||||
go b.b.Start(b.ctx)
|
go b.b.Start(b.ctx)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (b *tgBot) updateHandler(ctx context.Context, _ *bot.Bot, update *models.Update) {
|
func (b *tgBot) updateHandler(ctx context.Context, _ *bot.Bot, _ *models.Update) {}
|
||||||
if update != nil {
|
|
||||||
b.log.Info(fmt.Sprintf("update:\n%#v\n", *update))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user