Forgot to delete messages
This commit is contained in:
parent
db4f058fb4
commit
d884c2d5b1
1 changed files with 2 additions and 0 deletions
|
@ -179,6 +179,8 @@ class DownloadCommand extends Command {
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
console.log('finished download');
|
console.log('finished download');
|
||||||
|
loadingmsg.delete();
|
||||||
|
message.delete();
|
||||||
const dest = fs.createWriteStream(filePath);
|
const dest = fs.createWriteStream(filePath);
|
||||||
res.body.pipe(dest);
|
res.body.pipe(dest);
|
||||||
dest.on('finish', () => {
|
dest.on('finish', () => {
|
||||||
|
|
Loading…
Reference in a new issue