diff --git a/config/default.js b/config/default.js index 739450f..ecb1573 100644 --- a/config/default.js +++ b/config/default.js @@ -121,7 +121,7 @@ module.exports.playerOptions = { maxQueueSize: 10_000, maxHistorySize: 100, bufferingTimeout: 3_000, - connectionTimeout: 30_000, + connectionTimeout: 20_000, progressBar: { length: 14, timecodes: false, diff --git a/src/interactions/commands/player/nowplaying.ts b/src/interactions/commands/player/nowplaying.ts index 5e2efcc..41cc816 100644 --- a/src/interactions/commands/player/nowplaying.ts +++ b/src/interactions/commands/player/nowplaying.ts @@ -155,7 +155,7 @@ const command: CustomSlashCommandInteraction = { ? '' : `**${ queue.repeatMode === 3 ? embedOptions.icons.autoplay : embedOptions.icons.loop - } Looping**\nLoop mode is set to ${loopModeUserString}. You can change it with **\`/loop\`**.` + } Looping**\nLoop mode is set to **\`${loopModeUserString}\`**. You can change it with **\`/loop\`**.` }` ) .addFields( diff --git a/src/interactions/commands/player/queue.ts b/src/interactions/commands/player/queue.ts index ef4c26e..0ebc12c 100644 --- a/src/interactions/commands/player/queue.ts +++ b/src/interactions/commands/player/queue.ts @@ -137,7 +137,7 @@ const command: CustomSlashCommandInteraction = { ? '' : `**${ queue.repeatMode === 3 ? embedOptions.icons.autoplay : embedOptions.icons.loop - } Looping**\nLoop mode is set to ${loopModeUserString}. You can change it with **\`/loop\`**.\n\n` + } Looping**\nLoop mode is set to **\`${loopModeUserString}\`**. You can change it with **\`/loop\`**.\n\n` }`; if (!currentTrack) { diff --git a/src/interactions/commands/player/skip.ts b/src/interactions/commands/player/skip.ts index aa98e20..7b67823 100644 --- a/src/interactions/commands/player/skip.ts +++ b/src/interactions/commands/player/skip.ts @@ -172,7 +172,7 @@ const command: CustomSlashCommandInteraction = { queue.repeatMode === 3 ? embedOptions.icons.autoplaying : embedOptions.icons.looping - } Looping**\nLoop mode is set to ${loopModeUserString}. You can change it with **\`/loop\`**.` + } Looping**\nLoop mode is set to **\`${loopModeUserString}\`**. You can change it with **\`/loop\`**.` }` ) .setThumbnail(skippedTrack.thumbnail) diff --git a/src/interactions/components/filters-disable-button.ts b/src/interactions/components/filters-disable-button.ts index 9b0395e..3597ee1 100644 --- a/src/interactions/components/filters-disable-button.ts +++ b/src/interactions/components/filters-disable-button.ts @@ -18,7 +18,7 @@ const component: CustomComponentInteraction = { guildId: interaction.guild?.id }); - logger.info('Received disable confirmation.'); + logger.debug('Received disable confirmation.'); const queue = useQueue(interaction.guild!.id)!; diff --git a/src/interactions/components/filters-select-menu.ts b/src/interactions/components/filters-select-menu.ts index 70a4c5a..f8a85d5 100644 --- a/src/interactions/components/filters-select-menu.ts +++ b/src/interactions/components/filters-select-menu.ts @@ -19,7 +19,7 @@ const component: CustomComponentInteraction = { guildId: interaction.guild?.id }); - logger.info('Received select menu confirmation.'); + logger.debug('Received select menu confirmation.'); const selectMenuInteraction = interaction as StringSelectMenuInteraction; const queue = useQueue(selectMenuInteraction.guild!.id)!; diff --git a/src/interactions/components/nowplaying-skip-button.ts b/src/interactions/components/nowplaying-skip-button.ts index 92f4e80..3d8d895 100644 --- a/src/interactions/components/nowplaying-skip-button.ts +++ b/src/interactions/components/nowplaying-skip-button.ts @@ -18,9 +18,10 @@ const component: CustomComponentInteraction = { guildId: interaction.guild?.id }); + logger.debug(`Received skip confirmation for track id ${referenceId}.`); + const queue: NodeResolvable = useQueue(interaction.guild!.id)!; - logger.debug(`Received skip confirmation for track id ${referenceId}.`); if (!queue || (queue.tracks.data.length === 0 && !queue.currentTrack)) { logger.debug('Tried skipping track but there was no queue.');