1
0
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:
MatteZ02
2020-05-15 19:05:39 +03:00
parent b76af649f2
commit 256585293e
33 changed files with 73 additions and 65 deletions

View File

@ -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);
}
}
};
};