From d884c2d5b1ee59e3ebe191abca346bb6176b1990 Mon Sep 17 00:00:00 2001 From: supositware Date: Tue, 16 Mar 2021 16:22:10 +0100 Subject: [PATCH] Forgot to delete messages --- commands/utility/download.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/utility/download.js b/commands/utility/download.js index e7b6a92..3179788 100644 --- a/commands/utility/download.js +++ b/commands/utility/download.js @@ -179,6 +179,8 @@ class DownloadCommand extends Command { } else { console.log('finished download'); + loadingmsg.delete(); + message.delete(); const dest = fs.createWriteStream(filePath); res.body.pipe(dest); dest.on('finish', () => {