dosent ping user anymore

This commit is contained in:
Loïc Bersier 2018-11-13 15:20:23 +01:00
parent fd7bead5aa
commit 70067bd8b9

View file

@ -33,8 +33,6 @@ module.exports = class DespacitoCommand extends Command {
message.say('an error as occured')
})
} else if (user.id === message.author.id) {
return message.say(`Did you just try to despacitoad yourself?`);
} else if (user.id === this.client.user.id) {
return message.say('Nice try but you wont get me :^)');
} else {
@ -48,7 +46,7 @@ module.exports = class DespacitoCommand extends Command {
const attachment = new Discord.Attachment(canvas.toBuffer(), 'despacito.png');
message.delete();
message.say(`${user}, you have been despacitoad`, attachment).catch(error => {
message.say(`${user.username}, you have been despacito'd`, attachment).catch(error => {
message.say('an error as occured')
})
}