2019-08-02 08:32:00 +00:00
|
|
|
module.exports = {
|
|
|
|
name: 'invite',
|
|
|
|
description: 'Invite command.',
|
2019-10-31 18:29:26 +00:00
|
|
|
alias: 'invite',
|
2019-08-02 08:32:00 +00:00
|
|
|
cooldown: 5,
|
2019-11-01 11:39:04 +00:00
|
|
|
onlyDev: false,
|
2019-10-10 13:43:04 +00:00
|
|
|
execute(message, args, client, Discord, prefix) {
|
|
|
|
const embed = new Discord.RichEmbed()
|
2019-12-05 13:17:15 +00:00
|
|
|
.setTitle(`Invite ${client.user.username} to your Discord server!`)
|
|
|
|
.setURL(client.config.invite)
|
|
|
|
.setColor(client.config.embedColor)
|
2019-08-04 13:00:05 +00:00
|
|
|
return message.channel.send(embed);
|
2019-08-02 08:32:00 +00:00
|
|
|
}
|
|
|
|
};
|