mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 22:15:37 +00:00
fix: indicate live track for duration
This commit is contained in:
1 parent
91570e7c2e
commit
0111d3af37
6 files changed
+71
-8
No files matched your search
@@ -58,6 +58,11 @@ module.exports = {
|
||||
skippedTrack.raw.duration === 0 || skippedTrack.duration === '0:00'
|
||||
? ''
|
||||
: `\`${skippedTrack.duration}\``;
|
||||
|
||||
if (skippedTrack.raw.live) {
|
||||
durationFormat = `\`${embedOptions.icons.liveTrack} LIVE\``;
|
||||
}
|
||||
|
||||
queue.node.skipTo(skipToTrack - 1);
|
||||
|
||||
logger.debug(
|
||||
@@ -99,6 +104,10 @@ module.exports = {
|
||||
skippedTrack.raw.duration === 0 || skippedTrack.duration === '0:00'
|
||||
? ''
|
||||
: `\`${skippedTrack.duration}\``;
|
||||
|
||||
if (skippedTrack.raw.live) {
|
||||
durationFormat = `\`${embedOptions.icons.liveTrack} LIVE\``;
|
||||
}
|
||||
queue.node.skip();
|
||||
|
||||
const loopModesFormatted = new Map([
|
||||
|
||||
Reference in new issue
Block a user