From 09c4561428ed3518286048ca8597546ff7f76767 Mon Sep 17 00:00:00 2001 From: Asaf Gartner Date: Fri, 27 May 2022 11:55:57 +0300 Subject: [PATCH] Slightly improved discord message formatting. --- src/discord/streams.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/discord/streams.go b/src/discord/streams.go index 031f4a27..6e7e3664 100644 --- a/src/discord/streams.go +++ b/src/discord/streams.go @@ -88,8 +88,7 @@ func UpdateStreamers(ctx context.Context, dbConn db.ConnOrTx, streamers []hmndat } else { var builder strings.Builder for _, s := range streamers { - builder.WriteString(fmt.Sprintf(":green_circle: %s is live: \n", s.Username, s.Username, s.StartTime.Unix())) - builder.WriteString(fmt.Sprintf("> %s", s.Title)) + builder.WriteString(fmt.Sprintf(":green_circle: **%s** is live: \n> _%s_\nStarted \n\n", s.Username, s.Username, s.Title, s.StartTime.Unix())) } messageContent = builder.String() }