From 923697cce68f9bdc610744768c1213c546cafb00 Mon Sep 17 00:00:00 2001 From: Marius Begby Date: Fri, 14 Jul 2023 19:15:30 +0200 Subject: [PATCH] fix: Update layout and styling for /help command --- commands/help.js | 23 +++++++++++------------ config.json.example | 3 ++- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/commands/help.js b/commands/help.js index aef6567b..29a6c589 100644 --- a/commands/help.js +++ b/commands/help.js @@ -13,18 +13,17 @@ module.exports = { new EmbedBuilder() .setDescription( `${embedIcons.rule} **List of commands**\n` + - '`/help` - Show this menu.\n' + - '`/play` `query` - Add a track or playlist to the queue by searching or url.\n' + - '`/pause` - Pause or resume the current track.\n' + - '`/queue` `[page]` - Show the list of tracks added to the queue.\n' + - '`/nowplaying` - Show information about the track currently playing.\n' + - '`/filters` - Toggle various audio filters during playback.\n' + - '`/volume` `[percentage]` - Show or set the playback volume for tracks.\n' + - '`/skip` `[trackNumber]` - Skip the current track.\n' + - '`/remove` `trackNumber` - Remove a specific track from the queue.\n' + - '`/leave` - Remove bot from voice channel and clear the queue.\n\n' + - `${embedIcons.support} **Support server**\nJoin the support server for help or suggestions: \n${botInfo.supportServerInviteUrl}\n\n` + - `${embedIcons.bot} **Invite the bot**\nAdd me to another server: \n[Click me!](${botInfo.botInviteUrl})` + '- `/play` `query` - Add a track or playlist to the queue by searching or url.\n' + + '- `/pause` - Pause or resume the current track.\n' + + '- `/queue` `[page]` - Show the list of tracks added to the queue.\n' + + `- \`/nowplaying\` - ${embedIcons.new} Show information about the track currently playing.\n` + + `- \`/filters\` - ${embedIcons.beta} Toggle various audio filters during playback.\n` + + '- `/volume` `[percentage]` - Show or set the playback volume for tracks.\n' + + '- `/skip` `[trackNumber]` - Skip current or specified track.\n' + + '- `/remove` `trackNumber` - Remove a specific track from the queue.\n' + + '- `/leave` - Clear the track queue and remove the bot from voice channel.\n\n' + + `${embedIcons.support} **Support server**\nJoin the support server for help or suggestions: \n**${botInfo.supportServerInviteUrl}**\n\n` + + `${embedIcons.bot} **Enjoying ${botInfo.name}?**\nAdd me to another server: \n**[Click me!](${botInfo.botInviteUrl})**` ) .setColor(embedColors.colorInfo) ] diff --git a/config.json.example b/config.json.example index 76b608bc..a17eac62 100644 --- a/config.json.example +++ b/config.json.example @@ -28,7 +28,7 @@ "maxHistorySize": 100 }, "progressBarOptions": { - "length": 12, + "length": 14, "timecodes": false, "separator": "┃", "indicator": "🔘", @@ -37,6 +37,7 @@ }, "embedIcons": { "beta": "`beta`", + "new": "`new`", "rule": "📒", "support": "❓", "bot": "🤖"