Forgot to delete messages

This commit is contained in:
supositware 2021-03-16 16:22:10 +01:00
parent db4f058fb4
commit d884c2d5b1

View file

@ -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', () => {