mirror of
https://github.com/musix-org/musix-oss
synced 2025-07-07 01:20:48 +00:00
to js
This commit is contained in:
17
src/commands/invite.js
Normal file
17
src/commands/invite.js
Normal file
@ -0,0 +1,17 @@
|
||||
module.exports = {
|
||||
name: 'invite',
|
||||
alias: 'i',
|
||||
usage: '',
|
||||
description: 'Invite Musix.',
|
||||
onlyDev: false,
|
||||
permission: 'none',
|
||||
category: 'info',
|
||||
execute(msg, args, client, Discord, command) {
|
||||
const embed = new Discord.MessageEmbed()
|
||||
.setTitle(client.messages.inviteTitle)
|
||||
.setURL(client.config.invite)
|
||||
.setColor(client.config.embedColor)
|
||||
msg.channel.send(embed);
|
||||
msg.channel.send(client.messages.joinSupport + client.config.supportServer);
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user