@ -6,6 +6,13 @@ class InviteCommand extends Command {
super('invite',{
aliases:['invite'],
category:'utility',
args:[
{
id:'here',
type:'string',
optional:true
}
],
description:{
content:'Send invite link for the bot and support server',
usage:'',
@ -14,9 +21,14 @@ class InviteCommand extends Command {
});
}
asyncexec(message){
message.channel.send('Check your dm');
returnmessage.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 :)`);
asyncexec(message,args){
letinvMessage=`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 :)`;