mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
Git pls
This commit is contained in:
@@ -24,8 +24,5 @@ exports.fetch = engineOptions => {
|
|||||||
if (fetched) return fetched;
|
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');
|
throw new Error('OPUS_ENGINE_MISSING');
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user