fix invite

This commit is contained in:
loicbersier 2021-02-11 15:27:07 +01:00
parent 33719b4f13
commit 6d864dd2ec

View file

@ -34,7 +34,7 @@ class InviteCommand extends Command {
return message.channel.send('Sorry, the user you mentioned is not a bot!'); return message.channel.send('Sorry, the user you mentioned is not a bot!');
} }
} else { } else {
let invMessage = `You can add me from here: https://discordapp.com/oauth2/authorize?client_id=${this.client.user.id}&scope=bot&scope=applications.commands&permissions=0\nYou can also join my support server over here: ${supportServer} come and say hi :)`; let invMessage = `You can add me from here: https://discord.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 :)`;
if (args.here) { if (args.here) {
message.channel.send(invMessage); message.channel.send(invMessage);
} else { } else {