docs: fix example
This commit is contained in:
parent
e9d77db609
commit
8e83a2ded5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue