From b9a6917cdac75493771f66bfe6024a06103407f4 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Mon, 7 Apr 2025 14:27:35 -0600 Subject: [PATCH] presence: thicker bar --- src/modules/utility/presence.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/utility/presence.js b/src/modules/utility/presence.js index e19753d..0dccc38 100644 --- a/src/modules/utility/presence.js +++ b/src/modules/utility/presence.js @@ -19,6 +19,7 @@ const HangStatusImages = {}; })(); const NOWPLAYING_BAR_LENGTH = 32; +const NOWPLAYING_BAR_CHAR = "\ud83e\udf79"; function fixMediaProxyURL(url) { if (url.includes("media.discordapp.net")) { @@ -193,7 +194,7 @@ presence.callback = async function (msg, line) { const progress = position >= length ? 1 : position / length; const barLength = Math.round(progress * NOWPLAYING_BAR_LENGTH); - const bar = `\`\`\`ansi\n${"\u2014".repeat(barLength)}\x1b[30m${"\u2014".repeat( + const bar = `\`\`\`ansi\n${NOWPLAYING_BAR_CHAR.repeat(barLength)}\x1b[30m${NOWPLAYING_BAR_CHAR.repeat( NOWPLAYING_BAR_LENGTH - barLength )}\x1b[39m`; const time = `${timePos}${" ".repeat(