You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 12, 2023. It is now read-only.
Please describe the problem you are having in as much detail as possible:
Upgrading from 0.5.x versions, changing createVoiceRecevier(connection) to new VoiceReceiver(connection) seemed to be the logical choice. However, the only VoiceReceiver that works with a given connection seems to be the VoiceConnection.receiver.
I suggest marking the VoiceReceiver constructor as @internal, to avoid confusion.
Include a reproducible code sample here, if possible:
constr1=newVoiceReceiver(voiceConnection);r1.speaking.on("start",()=>console.log("never gets called"));constr2=voiceConnection.receiver;r2.speaking.on("start",()=>console.log("but this one does"));
Further details:
@discordjs/voice version: 0.6.0
Priority this issue should have – please be realistic and elaborate if possible: same as all documentation issues, probably
Please describe the problem you are having in as much detail as possible:
Upgrading from
0.5.xversions, changingcreateVoiceRecevier(connection)tonew VoiceReceiver(connection)seemed to be the logical choice. However, the onlyVoiceReceiverthat works with a given connection seems to be theVoiceConnection.receiver.I suggest marking the
VoiceReceiverconstructor as@internal, to avoid confusion.Include a reproducible code sample here, if possible:
Further details:
0.6.0Relevant client options: