Fix break tracking (out→in gap), add startup log, clean up /start message

This commit is contained in:
2026-06-23 22:00:25 +03:30
parent 7da6f4cb49
commit 32446a99d1
3 changed files with 15 additions and 20 deletions

View File

@@ -37,6 +37,8 @@ func main() {
handler := bot.NewHandler(botAPI, dbStore, allowedUsers)
log.Printf("Bot started. Allowed users: %d", len(allowedUsers))
webhookURL := os.Getenv("BOT_WEBHOOK_URL")
if webhookURL != "" {
startWebhook(botAPI, handler, webhookURL)