mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 09:42:22 +00:00
Git pls
This commit is contained in:
parent
2611efe9c1
commit
5dc83a1b03
1 changed files with 0 additions and 3 deletions
|
|
@ -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');
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue