WIP.
Long-polling errors seem to be due to tthe dev server crashes earlier.
This commit is contained in:
parent
58a01bff56
commit
216ec90646
2 changed files with 6 additions and 2 deletions
|
|
@ -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)))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue