diff --git a/lib/voice/VoiceConnection.js b/lib/voice/VoiceConnection.js index d643600b..c34b771d 100644 --- a/lib/voice/VoiceConnection.js +++ b/lib/voice/VoiceConnection.js @@ -106,7 +106,7 @@ class VoiceConnection extends EventEmitter { super(); if(typeof window !== "undefined") { - throw new Error("Voice is not supported in browsers at this time"); + process.emitWarning("Voice is not supported in browser-like runtimes. Proceed at your own caution.", "BrowserLikeRuntimeWarning", "dysnomia:VOICE_BROWSER"); } if(!Sodium && !NaCl) {