aboutsummaryrefslogtreecommitdiff
path: root/backend/Shutdown.js
diff options
context:
space:
mode:
Diffstat (limited to 'backend/Shutdown.js')
-rw-r--r--backend/Shutdown.js2
1 files changed, 1 insertions, 1 deletions
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); }