From 5e84bd172367081ed4eee46442cfca2e31c4fed8 Mon Sep 17 00:00:00 2001 From: Yan Date: Mon, 16 Aug 2021 18:18:10 +0200 Subject: [PATCH] :sparkles: update for interaction. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!` });