From 8e83a2ded5748ae47cee51d9d517e2f63ae980f1 Mon Sep 17 00:00:00 2001 From: Andromeda <46562212+DevAndromeda@users.noreply.github.com> Date: Sun, 15 Aug 2021 19:09:28 +0545 Subject: [PATCH] docs: fix example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5ce12ee..b8d3869 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ client.on("interactionCreate", async (interaction) => { await interaction.deferReply(); const track = await player.search(query, { requestedBy: message.author - }).then(x => x.tracks[1]); + }).then(x => x.tracks[0]); if (!track) return await interaction.followUp({ content: `❌ | Track **${query}** not found!` }); queue.play(track);