mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-22 20:53:17 +00:00
Made invite URL dynamic
This commit is contained in:
parent
c17900b618
commit
31baeeab45
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user