diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2022-07-10 17:20:37 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2022-07-10 17:20:37 -0400 |
| commit | 6b8154ba82c8089bcb47e2d3b6fea66353ba27bc (patch) | |
| tree | 6c1ef956a2e46b1fc7fdabe56dd60da67f243398 /commands | |
| parent | 10e93faf891c3fa3a68edb59d4ffb9d939680dc6 (diff) | |
| download | DLAP-6b8154ba82c8089bcb47e2d3b6fea66353ba27bc.tar.gz DLAP-6b8154ba82c8089bcb47e2d3b6fea66353ba27bc.tar.bz2 DLAP-6b8154ba82c8089bcb47e2d3b6fea66353ba27bc.zip | |
Fixed an issue where it doesn't shuffle properly
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/status.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/commands/status.js b/commands/status.js index e135113..d3d70a6 100644 --- a/commands/status.js +++ b/commands/status.js @@ -34,6 +34,10 @@ export default { let audioName = audioArray[audioID]; audioName = audioName.split('.').slice(0, -1).join('.'); + if (audioName == null) { + audioName = 'Finish'; + } + const controlEmbed = new MessageEmbed() .setAuthor({ name: `${bot.user.username} Status`, iconURL: bot.user.avatarURL() }) .addField('State', playerState) |
