fix: indicate live track for duration

This commit is contained in:
Marius Begby committed 2023-08-25 23:09:49 +02:00
1 parent 91570e7c2e
commit 0111d3af37
6 files changed
+71 -8

No files matched your search

+4
View File
@@ -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(