aboutsummaryrefslogtreecommitdiff
path: root/commands/status.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-12-01 21:56:03 -0500
committerAndrew Lee <alee14498@protonmail.com>2022-12-01 21:56:03 -0500
commit894dd858c380e5ac8bcd882294f044c325ef379e (patch)
treeb275ce664f6cf48272d62835bd3010c0e71bc592 /commands/status.js
parent56573af6e6f5a839536483ea51ad1fc163f33458 (diff)
downloadDLAP-894dd858c380e5ac8bcd882294f044c325ef379e.tar.gz
DLAP-894dd858c380e5ac8bcd882294f044c325ef379e.tar.bz2
DLAP-894dd858c380e5ac8bcd882294f044c325ef379e.zip
Modularized audio backend
Diffstat (limited to 'commands/status.js')
-rw-r--r--commands/status.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/commands/status.js b/commands/status.js
index 958a359..3143e16 100644
--- a/commands/status.js
+++ b/commands/status.js
@@ -21,7 +21,8 @@
import { EmbedBuilder, SlashCommandBuilder } from 'discord.js';
import { parseFile } from 'music-metadata';
-import { audio, currentTrack, files, playerState, audioTitle, metadataEmpty, duration } from '../AudioBackend.js';
+import { audio, metadataEmpty, duration, audioTitle, currentTrack } from '../backend/PlayAudio.js';
+import { files, playerState } from '../backend/AudioControl.js';
export default {
data: new SlashCommandBuilder()
@@ -54,7 +55,7 @@ export default {
{ name: 'State', value: playerState },
{ name: 'Tracks', value: `${audioID}/${files.length}` },
{ name: 'Duration', value: duration }
- )
+ )
.setColor('#0066ff');
if (metadataEmpty === true) {