diff --git a/commands/Music/play.js b/commands/Music/play.js index 526f1994..24933995 100644 --- a/commands/Music/play.js +++ b/commands/Music/play.js @@ -69,6 +69,9 @@ class Play extends BaseCommand { searchResult = await client.player.search(query, { requestedBy: interaction.user }); + + if (!searchResult.tracks[0] || !searchResult) + return interaction.editReply({ content: interaction.translate("music/play:NO_RESULT", { query }) }); } } catch (error) { return interaction.editReply({