dosent ping user anymore
This commit is contained in:
parent
fd7bead5aa
commit
70067bd8b9
1 changed files with 1 additions and 3 deletions
|
@ -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')
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue