diff --git a/src/client/commands/invite.js b/src/client/commands/invite.js index 9e329f4..269fe71 100644 --- a/src/client/commands/invite.js +++ b/src/client/commands/invite.js @@ -11,7 +11,7 @@ module.exports = { const embed = new Discord.MessageEmbed() .setTitle(message.inviteTitle) .setColor(client.config.embedColor) - .setURL(client.config.invite) + .setURL("https://discordapp.com/api/oauth2/authorize?client_id=" + client.user.id + "&permissions=3427328&scope=bot") .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); return msg.channel.send(embed); } diff --git a/src/config.js b/src/config.js index 32bf1a1..034181c 100644 --- a/src/config.js +++ b/src/config.js @@ -17,7 +17,6 @@ module.exports = { //misc embedColor: "#88aa00", - invite: "https://discordapp.com/api/oauth2/authorize?client_id=684109535312609409&permissions=3427328&scope=bot", hostedBy: "[Warén Group](https://waren.io)", //Settings