fix invite

akairo
loicbersier 3 years ago
parent 33719b4f13
commit 6d864dd2ec

@ -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 {
@ -50,4 +50,4 @@ class InviteCommand extends Command {
} }
} }
module.exports = InviteCommand; module.exports = InviteCommand;

Loading…
Cancel
Save