1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-15 01:20:19 +00:00
musix-oss/src/commands/invite.js

17 lines
537 B
JavaScript
Raw Normal View History

2020-02-05 20:02:53 +00:00
module.exports = {
name: 'invite',
alias: 'i',
2020-02-24 18:41:40 +00:00
usage: '',
2020-02-05 20:02:53 +00:00
description: 'Invite Musix.',
onlyDev: false,
permission: 'none',
category: 'info',
2020-03-21 17:49:25 +00:00
execute(msg, args, client, Discord, command) {
2020-02-05 20:02:53 +00:00
const embed = new Discord.MessageEmbed()
.setTitle(client.messages.inviteTitle)
2020-02-05 20:02:53 +00:00
.setURL(client.config.invite)
.setColor(client.config.embedColor)
2020-03-21 17:49:25 +00:00
msg.channel.send(embed);
msg.channel.send(client.messages.joinSupport + client.config.supportServer);
2020-02-05 20:02:53 +00:00
}
};