aboutsummaryrefslogtreecommitdiff
path: root/commands/status.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-07-11 23:14:58 -0400
committerAndrew Lee <alee14498@protonmail.com>2022-07-11 23:14:58 -0400
commit1cd0056d71ab84421b40538ff7b0bb76a2e6a766 (patch)
tree2aa0f2334d68cf3ed8809ce82b87e55b90fd4776 /commands/status.js
parenteb90e1a4ffbe5f0b82bea296a97786ca5cc81041 (diff)
downloadDLAP-1cd0056d71ab84421b40538ff7b0bb76a2e6a766.tar.gz
DLAP-1cd0056d71ab84421b40538ff7b0bb76a2e6a766.tar.bz2
DLAP-1cd0056d71ab84421b40538ff7b0bb76a2e6a766.zip
Fully implemented order playlist
Diffstat (limited to 'commands/status.js')
-rw-r--r--commands/status.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/status.js b/commands/status.js
index d769cb5..2bb7703 100644
--- a/commands/status.js
+++ b/commands/status.js
@@ -21,7 +21,7 @@
import { SlashCommandBuilder } from '@discordjs/builders';
import { MessageEmbed } from 'discord.js';
-import { audio, audioArray, currentTrack, files, playerState } from '../AudioBackend.js';
+import { audio, currentTrack, files, playerState } from '../AudioBackend.js';
export default {
data: new SlashCommandBuilder()
@@ -31,7 +31,7 @@ export default {
let audioID = currentTrack;
audioID++;
- let audioName = audioArray[audioID];
+ let audioName = files[audioID];
if (audioName === undefined) {
audioName = 'Playlist Finished';
} else {