From 2004031055b58c8152ff0a5441ee7e5337c1acbc Mon Sep 17 00:00:00 2001 From: Mo Tarbin Date: Sun, 7 Jul 2024 00:31:19 -0400 Subject: Update chore notification messages to use markdown formatting --- internal/notifier/service/planner.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/notifier/service') diff --git a/internal/notifier/service/planner.go b/internal/notifier/service/planner.go index c8b4ea6..615fa0d 100644 --- a/internal/notifier/service/planner.go +++ b/internal/notifier/service/planner.go @@ -86,7 +86,7 @@ func generateDueNotifications(chore *chModel.Chore, users []*cModel.UserCircleDe TypeID: 1, UserID: user.ID, TargetID: fmt.Sprint(user.ChatID), - Text: fmt.Sprintf("📅 Reminder: '%s' is due today and assigned to %s.", chore.Name, assignee.DisplayName), + Text: fmt.Sprintf("📅 Reminder: *%s* is due today and assigned to %s.", chore.Name, assignee.DisplayName), } notifications = append(notifications, notification) } @@ -141,7 +141,7 @@ func generateOverdueNotifications(chore *chModel.Chore, users []*cModel.UserCirc TypeID: 2, UserID: user.ID, TargetID: fmt.Sprint(user.ChatID), - Text: fmt.Sprintf("🚨 '%s' is now %d hours overdue. Please complete it as soon as possible. (Assigned to %s)", chore.Name, hours, assignee.DisplayName), + Text: fmt.Sprintf("🚨 *%s* is now %d hours overdue. Please complete it as soon as possible. (Assigned to %s)", chore.Name, hours, assignee.DisplayName), } notifications = append(notifications, notification) } -- cgit