mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 06:28:53 +00:00
fix: Update duration format in places to have bold text
This commit is contained in:
1 parent
2f1974d2ba
commit
8ecad8a02e
5 files changed
+14
-14
No files matched your search
+4
-4
@@ -98,7 +98,7 @@ module.exports = {
|
||||
|
||||
return `**${
|
||||
pageIndex * 10 + index + 1
|
||||
}.** ${durationFormat} **[${track.title}](${track.url})**`;
|
||||
}.** **${durationFormat} [${track.title}](${track.url})**`;
|
||||
})
|
||||
.join('\n');
|
||||
}
|
||||
@@ -146,16 +146,16 @@ module.exports = {
|
||||
});
|
||||
} else {
|
||||
const timestamp = queue.node.getTimestamp();
|
||||
let bar = `\`${
|
||||
let bar = `**\`${
|
||||
timestamp.current.label
|
||||
}\` ${queue.node.createProgressBar({
|
||||
}\`** ${queue.node.createProgressBar({
|
||||
queue: false,
|
||||
length: progressBarOptions.length ?? 12,
|
||||
timecodes: progressBarOptions.timecodes ?? false,
|
||||
indicator: progressBarOptions.indicator ?? '🔘',
|
||||
leftChar: progressBarOptions.leftChar ?? '▬',
|
||||
rightChar: progressBarOptions.rightChar ?? '▬'
|
||||
})} \`${timestamp.total.label}\``;
|
||||
})} **\`${timestamp.total.label}\`**`;
|
||||
|
||||
if (
|
||||
currentTrack.raw.duration === 0 ||
|
||||
|
||||
Reference in new issue
Block a user