(new): bump to rc 16
Golang lint / lint (push) Successful in 1m7s

(fix): token replacer fix
This commit is contained in:
2026-04-23 22:57:16 +03:00
parent e92a0d37f3
commit 7d4b150b0b
7 changed files with 174 additions and 5 deletions
+1
View File
@@ -153,6 +153,7 @@ func (bot *Bot[T]) RunWebHookWithContext(ctx context.Context, opts *BotWebHookOp
}
bot.webHookLogger = utils.CreateLogger("WEBHOOK", bot.GetLoggerLevel())
bot.addTokenReplacer(bot.webHookLogger)
if opts.SecretToken == "" {
bot.webHookLogger.Warnln("Bot webhook secret token empty. It's VERY recommended to set secret.")
}