This commit is contained in:
parent
0ad2fca458
commit
484be87551
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