2024-02-09 09:53:30 +00:00
|
|
|
const { EmbedBuilder } = require("discord.js");
|
|
|
|
|
2019-08-02 08:32:00 +00:00
|
|
|
module.exports = {
|
|
|
|
name: 'help',
|
|
|
|
description: 'Help command.',
|
2019-10-31 18:29:26 +00:00
|
|
|
alias: 'help',
|
2019-08-02 08:32:00 +00:00
|
|
|
cooldown: 5,
|
2024-02-09 09:53:30 +00:00
|
|
|
execute(message, args, client, prefix) {
|
|
|
|
const embed = new EmbedBuilder()
|
2019-12-05 13:17:15 +00:00
|
|
|
.setTitle(`Commands for ${client.user.username}!`)
|
2024-02-09 09:53:30 +00:00
|
|
|
.addFields(
|
|
|
|
{ name: `${prefix}play | ${prefix}p`, value: 'Play a song.', inline: true },
|
|
|
|
{ name: `${prefix}skip | ${prefix}s`, value: 'Skip a song.', inline: true },
|
|
|
|
{ name: `${prefix}queue | ${prefix}q`, value: 'Display the queue.', inline: true },
|
|
|
|
{ name: `${prefix}nowplaying | ${prefix}np`, value: 'Display what\'s currently playing.', inline: true },
|
|
|
|
{ name: `${prefix}remove | ${prefix}rm`, value: 'Remove songs from the queue.', inline: true },
|
|
|
|
{ name: `${prefix}volume`, value: 'Change or check the volume.', inline: true },
|
|
|
|
{ name: `${prefix}pause`, value: 'Pause the music.', inline: true },
|
|
|
|
{ name: `${prefix}resume`, value: 'Resume the music.', inline: true },
|
|
|
|
{ name: `${prefix}loop`, value: 'Loop the queue.', inline: true },
|
|
|
|
{ name: `${prefix}seek`, value: 'Seek music.', inline: true },
|
|
|
|
{ name: `${prefix}stop`, value: 'Stop the music, Clear the queue and leave the current voice channel.', inline: true },
|
|
|
|
{ name: `${prefix}invite`, value: 'Invite Musix.', inline: true },
|
|
|
|
{ name: `${prefix}status`, value: 'See different information for Musix.', inline: true },
|
|
|
|
{ name: `${prefix}settings`, value: 'Change the guild specific settings.', inline: true },
|
|
|
|
{ name: `${prefix}help`, value: 'Display the help.', inline: true }
|
|
|
|
)
|
|
|
|
.setAuthor({ name: client.user.username, iconURL: client.user.avatarURL()})
|
2019-12-05 13:17:15 +00:00
|
|
|
.setColor(client.config.embedColor)
|
2024-02-09 09:53:30 +00:00
|
|
|
return message.channel.send({ embeds: [embed] });
|
2019-08-02 08:32:00 +00:00
|
|
|
}
|
|
|
|
};
|