forked from Supositware/Haha-Yes
Despacito
This commit is contained in:
parent
31b69bfc5f
commit
6a5808babc
1 changed files with 4 additions and 2 deletions
|
@ -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`)
|
||||
}
|
||||
};
|
Loading…
Reference in a new issue