aboutsummaryrefslogtreecommitdiff
path: root/commands/status.js
diff options
context:
space:
mode:
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 cf49509..d19e4ac 100644
--- a/commands/status.js
+++ b/commands/status.js
@@ -38,7 +38,7 @@ export default {
if (audioName === undefined) {
audioName = 'Playlist Finished';
} else {
- if (metadataEmpty === false) {
+ if (!metadataEmpty) {
try {
const { common } = await parseFile('music/' + audioName);
audioName = common.title;
@@ -59,7 +59,7 @@ export default {
)
.setColor('#0066ff');
- if (metadataEmpty === true) {
+ if (metadataEmpty) {
controlEmbed.addFields(
{ name: 'Currently Playing', value: audio },
{ name: 'Up Next', value: audioName }