eximiabots-radiox/commands/invite.js
2020-04-04 07:32:25 +03:00

18 lines
626 B
JavaScript

module.exports = {
name: 'invite',
alias: 'i',
usage: '',
description: 'Invite RadioX.',
permission: 'none',
category: 'info',
execute(msg, args, client, Discord, prefix) {
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('EximiaBots by Warén Media');
return msg.channel.send(embed);
}
};