FIX: defer() should be called deferReply()

This commit is contained in:
Klairm 2021-08-14 22:53:35 +02:00 committed by GitHub
parent 614642c99d
commit 906aaf8dd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,7 +119,7 @@ client.on("interactionCreate", async (interaction) => {
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, {
requestedBy: message.author
}).then(x => x.tracks[1]);