Skip to content

Commit

Permalink
✨ update for interaction.
Browse files Browse the repository at this point in the history
  • Loading branch information
imyanice authored Aug 16, 2021
1 parent 8e83a2d commit 5e84bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!` });

Expand Down

0 comments on commit 5e84bd1

Please sign in to comment.