Closed AceHanded closed 1 year ago
Hello!
I think you need to pass bot user id to group
in speechOptions
addSpeechEvent(client, {
group: client.user.id
});
Tell me if it fixed your issue!
Hi!
Thanks a million, that seemed to fix the issue :)
I know someone has previously reported a problem with voice recognition when using another library for connecting to voice, however the solution presented in that thread (uninstalling the
@discordjs/voice
package), doesn't seem to work for the DisTube library, when using itsdistube.voices.join(voiceChannel)
method and setting the deafened status to false. The bot does join the voice channel correctly, but theclient.on('speech')
event never gets emitted with that voice connection. Any help regarding this problem would be greatly appreciated!