From 69ee6c644e2619b68e50b47106debcb6f1a047b8 Mon Sep 17 00:00:00 2001 From: Loic Bersier Date: Fri, 21 Sep 2018 16:20:30 +0200 Subject: [PATCH] dosent see the link anymore --- commands/fun/badmeme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/fun/badmeme.js b/commands/fun/badmeme.js index 5182a24..a737487 100644 --- a/commands/fun/badmeme.js +++ b/commands/fun/badmeme.js @@ -13,6 +13,6 @@ module.exports = class BadmemeCommand extends Command { async run(message) { const number = Object.keys(responseObject).length; const picNumber = Math.floor (Math.random() * (number - 1 + 1)) + 1; - message.channel.send(`${picNumber}: ${responseObject[picNumber]}`); + message.channel.send(picNumber, {files: [responseObject[picNumber]]}); } }; \ No newline at end of file