diff --git a/internal/app/app.go b/internal/app/app.go index b29eea2..0e2c9b8 100644 --- a/internal/app/app.go +++ b/internal/app/app.go @@ -161,7 +161,9 @@ func (a *App) daily() { // I'm somewhat concerned that once the error handling is resolved, this // could get triggered without some guards. Considering checkout // sb.Len() or the total birthdays. - a.bot.SendMarkdownMessage(chat.ID, sb.String()) + if sb.Len() > 0 { + a.bot.SendMarkdownMessage(chat.ID, sb.String()) + } } }