mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-14 03:50:18 +00:00
18 lines
724 B
JavaScript
18 lines
724 B
JavaScript
module.exports = {
|
|
name: 'invite',
|
|
alias: 'i',
|
|
usage: '',
|
|
description: 'Invite RadioX.',
|
|
permission: 'none',
|
|
category: 'info',
|
|
execute(msg, args, client, Discord, command) {
|
|
let message = {};
|
|
message.inviteTitle = client.messages.inviteTitle.replace("%client.user.username%", client.user.username);
|
|
const embed = new Discord.MessageEmbed()
|
|
.setTitle(message.inviteTitle)
|
|
.setColor(client.config.embedColor)
|
|
.setURL(client.config.invite)
|
|
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
|
|
return msg.channel.send(embed);
|
|
}
|
|
}; |