DiscordTickets/commands/help.js

23 lines
736 B
JavaScript
Raw Normal View History

2019-05-04 00:09:48 +03:00
module.exports = {
name: 'help',
description: 'Displays help menu',
usage: 'help [command]',
execute(message, args, config, version) {
// command starts here
message.delete();
if(config.useEmbeds) {
const embed = new Discord.RichEmbed()
.setAuthor(`${client.user.username} / Ticket Log`, client.user.avatarURL)
.setColor("#2ECC71")
.setDescription(":white_check_mark: **Started succesfully**")
.setFooter(`${client.guilds.get(config.guildID).name} / Ticket Bot\nDiscordTickets by Eartharoid`);
message.channel.send({embed})
} else {
message.channel.send(`**Prefix =** \`${config.prefix}\`\n**Bot Version =** \`${version}\``)
}
// command ends here
},
};