mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-10 11:00:19 +00:00
18 lines
720 B
JavaScript
18 lines
720 B
JavaScript
module.exports = {
|
|
name: 'invite',
|
|
alias: 'i',
|
|
usage: '',
|
|
description: 'Invite Bot',
|
|
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);
|
|
}
|
|
}; |