Made invite URL dynamic

This commit is contained in:
Christer Warén 2021-06-23 18:48:55 +03:00
parent c17900b618
commit 31baeeab45
2 changed files with 1 additions and 2 deletions

View File

@ -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);
}

View File

@ -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