presence: oop

This commit is contained in:
Cynthia Foxwell 2025-05-01 21:44:41 -06:00
parent 3fe77473f1
commit 9d0ce017a9
Signed by: Cynosphere
SSH key fingerprint: SHA256:H3SM8ufP/uxqLwKSH7xY89TDnbR9uOHzjLoBr0tlajk

View file

@ -234,7 +234,7 @@ presence.callback = async function (msg, line) {
const bar = `\`\`\`ansi\n${timePos} ${NOWPLAYING_BAR_CHAR.repeat( const bar = `\`\`\`ansi\n${timePos} ${NOWPLAYING_BAR_CHAR.repeat(
barLength barLength
)}\x1b[30m${NOWPLAYING_BAR_CHAR.repeat(numBarChars - barLength)}\x1b[39m ${timeEnd}`; )}\x1b[30m${NOWPLAYING_BAR_CHAR.repeat(numBarChars - barLength)}\x1b[39m ${timeEnd}\`\`\``;
descLines.push(bar); descLines.push(bar);
} }
} }