diff --git a/README.md b/README.md index b8d3869..6e8df3b 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ client.on("interactionCreate", async (interaction) => { await interaction.deferReply(); const track = await player.search(query, { - requestedBy: message.author + requestedBy: interaction.user }).then(x => x.tracks[0]); if (!track) return await interaction.followUp({ content: `❌ | Track **${query}** not found!` });