✨ update for interaction.
This commit is contained in:
parent
8e83a2ded5
commit
5e84bd1723
1 changed files with 1 additions and 1 deletions
|
@ -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!` });
|
||||
|
||||
|
|
Loading…
Reference in a new issue