update to discord-player-v6 #76
1 changed files with 1 additions and 1 deletions
|
@ -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] });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue