update to discord-player-v6 #76

Merged
Anri merged 30 commits from feat/music-v6 into main 2023-03-11 20:36:25 +01:00
Showing only changes of commit 484be87551 - Show all commits

View file

@ -119,7 +119,7 @@ export default {
}) })
.then((x) => x); .then((x) => x);
if (!result.tracks[0]) { if (result.isEmpty()) {
const embed = new EmbedBuilder().setDescription(`❌ | \`${query}\` ${loc.get("c_play4")}.`); const embed = new EmbedBuilder().setDescription(`❌ | \`${query}\` ${loc.get("c_play4")}.`);
return await interaction.followUp({ embeds: [embed] }); return await interaction.followUp({ embeds: [embed] });
} }