mirror of
https://github.com/musix-org/musix-oss
synced 2025-07-07 01:20:48 +00:00
Updated command aliases
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
module.exports = {
|
||||
name: 'help',
|
||||
alias: 'h',
|
||||
alias: ["h"],
|
||||
usage: '<command(opt)>',
|
||||
description: 'See the help for Musix.',
|
||||
onlyDev: false,
|
||||
@ -13,7 +13,7 @@ module.exports = {
|
||||
const embed = new Discord.MessageEmbed()
|
||||
.setTitle(`${client.global.db.guilds[msg.guild.id].prefix}${command.name} ${command.usage}`)
|
||||
.setDescription(command.description)
|
||||
.setFooter(`${client.messages.helpCmdFooter} \`${command.alias}\``)
|
||||
.setFooter(`${client.messages.helpCmdFooter} \`${command.alias.map(a => `${a}, `)}\``)
|
||||
.setColor(client.config.embedColor)
|
||||
msg.channel.send(embed);
|
||||
} else {
|
||||
@ -35,4 +35,4 @@ module.exports = {
|
||||
msg.channel.send(embed);
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
Reference in New Issue
Block a user