forked from Supositware/Haha-Yes
changing invite link to have the new slash thing requried
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
This commit is contained in:
parent
36e702dcee
commit
e2960d4c91
1 changed files with 1 additions and 1 deletions
|
@ -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&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://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 :)`;
|
||||||
if (args.here) {
|
if (args.here) {
|
||||||
message.channel.send(invMessage);
|
message.channel.send(invMessage);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue