aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/status.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/status.js b/commands/status.js
index 6faa3bb..958a359 100644
--- a/commands/status.js
+++ b/commands/status.js
@@ -21,7 +21,7 @@
import { EmbedBuilder, SlashCommandBuilder } from 'discord.js';
import { parseFile } from 'music-metadata';
-import { audio, currentTrack, files, playerState, audioTitle, metadataEmpty, formattedDuration } from '../AudioBackend.js';
+import { audio, currentTrack, files, playerState, audioTitle, metadataEmpty, duration } from '../AudioBackend.js';
export default {
data: new SlashCommandBuilder()
@@ -53,7 +53,7 @@ export default {
.addFields(
{ name: 'State', value: playerState },
{ name: 'Tracks', value: `${audioID}/${files.length}` },
- { name: 'Duration', value: formattedDuration }
+ { name: 'Duration', value: duration }
)
.setColor('#0066ff');