diff --git a/src/client/voice/opus/OpusEngineList.js b/src/client/voice/opus/OpusEngineList.js index e6ede9a5a..01b6d289f 100644 --- a/src/client/voice/opus/OpusEngineList.js +++ b/src/client/voice/opus/OpusEngineList.js @@ -24,8 +24,5 @@ exports.fetch = engineOptions => { if (fetched) return fetched; } -exports.guaranteeOpusEngine = () => { - if (typeof opusEngineFound === 'undefined') opusEngineFound = Boolean(exports.fetch()); - if (!opusEngineFound) throw new Error('Couldn\'t find an Opus engine.'); throw new Error('OPUS_ENGINE_MISSING'); };