From 6a5808babc002fd508f38294ba4a703b75e3acb9 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Sun, 7 Oct 2018 23:02:05 +0200 Subject: [PATCH] Despacito --- commands/fun/despacito.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/commands/fun/despacito.js b/commands/fun/despacito.js index 47ec033f..b41d08bb 100644 --- a/commands/fun/despacito.js +++ b/commands/fun/despacito.js @@ -23,7 +23,9 @@ module.exports = class DespacitoCommand extends Command { const number = Object.keys(responseObject).length; const despacitoNumber = Math.floor (Math.random() * (number - 1 + 1)) + 1; message.channel.send({files: [responseObject[despacitoNumber]]}); - } else - message.say(`${user}, you have been despacitoad`) + } else if (user.id === message.author.id) { + message.say(`Did you just try to despacitoad yourself?`) + } else + message.say(`${user}, you have been despacitoad`) } }; \ No newline at end of file