FIX: defer() should be called deferReply()
This commit is contained in:
parent
614642c99d
commit
906aaf8dd4
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ client.on("interactionCreate", async (interaction) => {
|
||||||
return await interaction.reply({ content: "Could not join your voice channel!", empheral: true });
|
return await interaction.reply({ content: "Could not join your voice channel!", empheral: true });
|
||||||
}
|
}
|
||||||
|
|
||||||
await interaction.defer();
|
await interaction.deferReply();
|
||||||
const track = await player.search(query, {
|
const track = await player.search(query, {
|
||||||
requestedBy: message.author
|
requestedBy: message.author
|
||||||
}).then(x => x.tracks[1]);
|
}).then(x => x.tracks[1]);
|
||||||
|
|
Loading…
Reference in a new issue