Long-polling errors seem to be due to tthe dev server crashes earlier.
This commit is contained in:
Benjamin A. Shelton 2026-10-20 22:36:00 -06:00
commit 216ec90646
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01
2 changed files with 6 additions and 2 deletions

View file

@ -4,6 +4,7 @@ import (
"context"
"fmt"
"io"
"strings"
"github.com/joho/godotenv"
"github.com/robfig/cron/v3"
@ -141,7 +142,7 @@ func (a *App) scripture() {
fmt.Println("sending chat:", chat.ID)
fmt.Println("to bot:", a.bot)
a.bot.SendMarkdownMessage(chat.ID,
fmt.Sprintf("**<u>Daily Scripture:</u><br>%s**\n\n%s (*%s*)", ref.String(), verse.String(), vv.Translation))
fmt.Sprintf("**<u>Daily Scripture:</u><br>%s**\n\n%s (*%s*)", ref.String(), verse.String(), strings.ToUpper(vv.Translation)))
}
}