Send invite to dm so it dosent count as ad

This commit is contained in:
loicbersier 2018-10-19 23:46:52 +02:00
parent 9e2ab256ce
commit 9c53826591

View file

@ -15,6 +15,7 @@ module.exports = class InviteCommand extends Command {
async run(message) { async run(message) {
if(blacklist[message.author.id]) if(blacklist[message.author.id])
return message.channel.send("You are blacklisted") return message.channel.send("You are blacklisted")
return message.say(`You can add me from here: https://discordapp.com/oauth2/authorize?client_id=${this.client.user.id}&scope=bot&permissions=0\nYou can also join my support server over here: ${supportServer} come and say hi :)`); message.say('Check your dm')
return message.author.send(`You can add me from here: https://discordapp.com/oauth2/authorize?client_id=${this.client.user.id}&scope=bot&permissions=0\nYou can also join my support server over here: ${supportServer} come and say hi :)`);
} }
}; };