mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-11-05 12:23:09 +02:00
23 lines
736 B
JavaScript
23 lines
736 B
JavaScript
|
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
|
||
|
},
|
||
|
};
|