diff options
| author | Reynard G <[email protected]> | 2024-01-16 19:44:44 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-01-16 19:44:44 -0600 |
| commit | 769f9da8a21ca467964142f57c79a0f482232900 (patch) | |
| tree | e5bc1bf82630db97d6d871597294eeb1afc4da96 /src/utils | |
| parent | 45bdbd1494a59f590ec7a29a65df022ae6af05ab (diff) | |
| download | muse-769f9da8a21ca467964142f57c79a0f482232900.tar.xz muse-769f9da8a21ca467964142f57c79a0f482232900.zip | |
Add /loop-queue command (#989)
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/build-embed.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/build-embed.ts b/src/utils/build-embed.ts index e4159b6..d851e3f 100644 --- a/src/utils/build-embed.ts +++ b/src/utils/build-embed.ts @@ -46,7 +46,7 @@ const getPlayerUI = (player: Player) => { const button = player.status === STATUS.PLAYING ? 'âšī¸' : 'âļī¸'; const progressBar = getProgressBar(15, position / song.length); const elapsedTime = song.isLive ? 'live' : `${prettyTime(position)}/${prettyTime(song.length)}`; - const loop = player.loopCurrentSong ? 'đ' : ''; + const loop = player.loopCurrentSong ? 'đ' : player.loopCurrentQueue ? 'đ' : ''; return `${button} ${progressBar} \`[${elapsedTime}]\` đ ${loop}`; }; |
