From c576ed4e454fe6b4974e7ad873670e3adc9d0a96 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 2 Dec 2022 22:05:20 -0500 Subject: Fixes to various things --- backend/Shutdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/Shutdown.js') diff --git a/backend/Shutdown.js b/backend/Shutdown.js index 641ca1e..e1c1d26 100644 --- a/backend/Shutdown.js +++ b/backend/Shutdown.js @@ -28,7 +28,7 @@ const { statusChannel, txtFile } = JSON.parse(readFileSync('./config.json', 'utf let fileData; export async function destroyAudio(interaction) { - if (txtFile === true) { + if (txtFile) { fileData = 'Now Playing: Nothing'; writeFile('now-playing.txt', fileData, (err) => { if (err) { console.log(err); } -- cgit v1.2.3