From ab4ad14d2cc1926d973ea8b69435d44e50c9b587 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Sun, 18 Nov 2018 18:08:13 +0100 Subject: [PATCH] --- commands/utility/download.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/utility/download.js b/commands/utility/download.js index 35f2dcef..cec86f83 100644 --- a/commands/utility/download.js +++ b/commands/utility/download.js @@ -31,9 +31,9 @@ module.exports = class downloadCommand extends Command { video.pipe(fs.createWriteStream('video.mp4')) video.on('end', function() { message.channel.bulkDelete(2); - - message.channel.send({files: ["./video.mp4"]}) - .catch(error => message.say('An error has occured, the file might be too big or i cant download the link you provided')) + message.say(`Download by ${message.author.username}`) + message.channel.send({files: ["./video.mp4"]}) + .catch(error => message.say('An error has occured, the file might be too big or i cant download the link you provided')) }) } else message.say("You need to input a valid link")