From a003642b971558e0328a33d7302782a3294349f6 Mon Sep 17 00:00:00 2001 From: Abhinav Raut Date: Sat, 4 Dec 2021 23:29:53 +0530 Subject: [PATCH] add whitespace around custom youtube emoji --- yt_chat.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yt_chat.go b/yt_chat.go index e47440f..fbfe16f 100644 --- a/yt_chat.go +++ b/yt_chat.go @@ -205,12 +205,12 @@ func fetchChatMessages(initialContinuationInfo string, ytCfg YtCfg) ([]ChatMessa // // These custom emojis are available with their image url. // - // Adding some whitespace after custom image URLs + // Adding some whitespace around custom image URLs // without the whitespace it would be difficult to parse these URLs if numberOfThumbnails > 0 && numberOfThumbnails == 2 { - text += run.Emoji.Image.Thumbnails[1].Url + " " + text += " " + run.Emoji.Image.Thumbnails[1].Url + " " } else if numberOfThumbnails == 1 { - text += run.Emoji.Image.Thumbnails[0].Url + " " + text += " " + run.Emoji.Image.Thumbnails[0].Url + " " } } else { text += run.Emoji.EmojiId