From 47518307ca107a555fa57b03bcffb4ec23612b3f Mon Sep 17 00:00:00 2001 From: loicbersier Date: Mon, 1 Oct 2018 11:04:01 +0200 Subject: [PATCH] images send as file not as link --- commands/fun/despacito.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/fun/despacito.js b/commands/fun/despacito.js index 3cfe19d7..20c55c83 100644 --- a/commands/fun/despacito.js +++ b/commands/fun/despacito.js @@ -11,8 +11,8 @@ module.exports = class DespacitoCommand extends Command { async run(message) { message.say("DES\nPA\nCITO"); - message.say("https://images-eu.ssl-images-amazon.com/images/I/619fzjO1rmL._SS500.jpg"); - message.say("https://cdn.dopl3r.com/memes_files/despacito-eS6Lm.jpg"); + message.channel.send({files: ["https://images-eu.ssl-images-amazon.com/images/I/619fzjO1rmL._SS500.jpg"]}); + message.channel.send({files: ["https://cdn.dopl3r.com/memes_files/despacito-eS6Lm.jpg"]}); message.say("https://www.youtube.com/watch?v=kJQP7kiw5Fk"); } }; \ No newline at end of file