diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2022-12-02 22:05:20 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2022-12-02 22:05:20 -0500 |
| commit | c576ed4e454fe6b4974e7ad873670e3adc9d0a96 (patch) | |
| tree | ae6f06f8f21f78d5023019b64772f484f5377fb7 /backend/Shutdown.js | |
| parent | e0fe64b06c0eb8b92578ae1bf5a166f8d633c9b3 (diff) | |
| download | DLAP-c576ed4e454fe6b4974e7ad873670e3adc9d0a96.tar.gz DLAP-c576ed4e454fe6b4974e7ad873670e3adc9d0a96.tar.bz2 DLAP-c576ed4e454fe6b4974e7ad873670e3adc9d0a96.zip | |
Fixes to various things
Diffstat (limited to 'backend/Shutdown.js')
| -rw-r--r-- | backend/Shutdown.js | 2 |
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); } |
