eximiabots-radiox/commands/invite.js

18 lines
726 B
JavaScript
Raw Normal View History

2020-03-02 19:38:42 +00:00
module.exports = {
name: 'invite',
alias: 'i',
usage: '',
description: 'Invite RadioX.',
permission: 'none',
category: 'info',
execute(msg, args, client, Discord, command) {
2020-03-12 22:53:23 +00:00
let message = {};
message.inviteTitle = client.messages.inviteTitle.replace("%client.user.username%", client.user.username);
2020-03-02 19:38:42 +00:00
const embed = new Discord.MessageEmbed()
2020-03-12 22:53:23 +00:00
.setTitle(message.inviteTitle)
2020-03-02 19:38:42 +00:00
.setColor(client.config.embedColor)
2020-03-08 23:26:24 +00:00
.setURL(client.config.invite)
.setFooter('EximiaBots by Warén Media', "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
2020-03-02 19:38:42 +00:00
return msg.channel.send(embed);
}
};