Fix break tracking (out→in gap), add startup log, clean up /start message
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user