From 5dc83a1b03deb1bd3643fdda74985a41c6b82b59 Mon Sep 17 00:00:00 2001 From: iCrawl Date: Sat, 12 Aug 2017 11:28:47 +0200 Subject: [PATCH] Git pls --- src/client/voice/opus/OpusEngineList.js | 3 --- 1 file changed, 3 deletions(-) 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'); };