From 918026d68f384dec485a45abebc62807848f2468 Mon Sep 17 00:00:00 2001 From: Cynthia Date: Sat, 10 Dec 2022 15:11:28 -0700 Subject: [PATCH] music: fix nowplaying check --- src/modules/music.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/music.js b/src/modules/music.js index 71ced76..29e90a8 100644 --- a/src/modules/music.js +++ b/src/modules/music.js @@ -625,7 +625,7 @@ command.callback = async function ( const connection = voiceStorage.get(msg.guildID); const nowPlaying = connection.nowplaying; - if (!nowPlaying || !connection.playing) + if (!nowPlaying || connection.status == AudioPlayerStatus.Idle) return "Nothing is currently playing."; const position = Date.now() - nowPlaying.start;