diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2022-12-06 20:22:27 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2022-12-06 20:22:27 -0500 |
| commit | 85a535956f5b6fbb035dca090123ece7fa8be8b5 (patch) | |
| tree | 27d12f147be55c3741a130208799bb9442a4753c /backend/Shutdown.js | |
| parent | f91f277a30a081cde95805bf39adeb835be98c3f (diff) | |
| download | DLAP-85a535956f5b6fbb035dca090123ece7fa8be8b5.tar.gz DLAP-85a535956f5b6fbb035dca090123ece7fa8be8b5.tar.bz2 DLAP-85a535956f5b6fbb035dca090123ece7fa8be8b5.zip | |
Used ChatGPT to fix certain problems; Removed more unnessesary stuff
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 e1c1d26..fb89505 100644 --- a/backend/Shutdown.js +++ b/backend/Shutdown.js @@ -55,6 +55,6 @@ export async function stopBot(bot, interaction) { console.log(`Powering off ${bot.user.username}...`); await destroyAudio(interaction); - bot.destroy(); + await bot.destroy(); return process.exit(0); } |
