diff --git a/commands/Music/queue.js b/commands/Music/queue.js index 64633e5a..6363d348 100644 --- a/commands/Music/queue.js +++ b/commands/Music/queue.js @@ -52,7 +52,7 @@ class Queue extends BaseCommand { }, { name: interaction.translate("music/queue:QUEUE"), - value: tracks.join("\n") + value: tracks.length > 0 ? tracks.join("\n") : null }, { name: "\u200b", diff --git a/commands/Music/skip.js b/commands/Music/skip.js index 6677a4f9..8b18b2fb 100644 --- a/commands/Music/skip.js +++ b/commands/Music/skip.js @@ -35,7 +35,6 @@ class Skip extends BaseCommand { if (!voice) return interaction.error("music/play:NO_VOICE_CHANNEL"); const queue = client.player.getQueue(interaction.guildId); if (!queue) return interaction.error("music/play:NOT_PLAYING"); - if (!queue.tracks[1]) return interaction.error("music/skip:NO_NEXT_SONG"); const embed = new EmbedBuilder() .setAuthor({ diff --git a/languages/ru-RU/music/skipto.json b/languages/ru-RU/music/skipto.json index 796d9e08..4ccc89b6 100644 --- a/languages/ru-RU/music/skipto.json +++ b/languages/ru-RU/music/skipto.json @@ -3,7 +3,7 @@ "USAGE": "skipto [номер]", "EXAMPLES": "skipto 3", "POSITION": "Номер трека в очереди", - "SUCCESS": "Выполнен переход на позицию {{position}", + "SUCCESS": "Выполнен переход на позицию {{position}}", "ERROR": "На позиции {{position}} ничего не найдено", "NO_PREV_SONG": "Вы не можете перейти назад, для этого используйте команду `back`!" } \ No newline at end of file