Listens when deafened
ByteLabDev opened this issue · 0 comments
ByteLabDev commented
When selfDeaf
is set to true, the bot can still hear the user's voice and transcribe it. This is an issue with Discord, not the speech recognition. It would be a nice feature if the bot didn't transcribe the voices when selfDeaf
is set to true, for security.
await joinVoiceChannel({
channelId: voiceChannel.id,
guildId: voiceChannel.guild.id,
adapterCreator: voiceChannel.guild.voiceAdapterCreator,
selfDeaf: true,
});
I have an example bot that demonstrates the problem.