diff options
author | Mo Tarbin <mhed.t91@gmail.com> | 2024-07-07 00:31:19 -0400 |
---|---|---|
committer | Mo Tarbin <mhed.t91@gmail.com> | 2024-07-07 00:31:19 -0400 |
commit | 2004031055b58c8152ff0a5441ee7e5337c1acbc (patch) | |
tree | 29838e7fbbcd0cc25b4f5e8cf134cf08d085af8a /internal/notifier/telegram | |
parent | 010db330a46ad32daf30400283971cd4e9835e1d (diff) | |
download | donetick-2004031055b58c8152ff0a5441ee7e5337c1acbc.tar.gz donetick-2004031055b58c8152ff0a5441ee7e5337c1acbc.tar.bz2 donetick-2004031055b58c8152ff0a5441ee7e5337c1acbc.zip |
Update chore notification messages to use markdown formatting
Diffstat (limited to '')
-rw-r--r-- | internal/notifier/telegram/telegram.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/notifier/telegram/telegram.go b/internal/notifier/telegram/telegram.go index e35f0c8..54c0905 100644 --- a/internal/notifier/telegram/telegram.go +++ b/internal/notifier/telegram/telegram.go @@ -55,7 +55,7 @@ func (tn *TelegramNotifier) SendChoreCompletion(c context.Context, chore *chMode if user.ChatID == 0 { continue } - text := fmt.Sprintf("🎉 '%s' is completed! is off the list, %s! 🌟 ", chore.Name, user.DisplayName) + text := fmt.Sprintf("🎉 *%s* is completed! is off the list, %s! 🌟 ", chore.Name, user.DisplayName) msg := tgbotapi.NewMessage(user.ChatID, text) msg.ParseMode = "Markdown" _, err := tn.bot.Send(msg) |