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
@@ -38,6 +38,10 @@ module.exports = {
|
||||
? ''
|
||||
: `\`${queue.currentTrack.duration}\``;
|
||||
|
||||
if (queue.currentTrack.raw.live) {
|
||||
durationFormat = `\`${embedOptions.icons.liveTrack} LIVE\``;
|
||||
}
|
||||
|
||||
// change paused state to opposite of current state
|
||||
queue.node.setPaused(!queue.node.isPaused());
|
||||
logger.debug(
|
||||
|
||||
Reference in new issue
Block a user