mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
@@ -242,8 +242,6 @@ class VoiceBroadcast extends VolumeInterface {
|
||||
* @returns {VoiceBroadcast}
|
||||
*/
|
||||
playArbitraryInput(input, { seek = 0, volume = 1, passes = 1 } = {}) {
|
||||
this.guaranteeOpusEngine();
|
||||
|
||||
const options = { seek, volume, passes, input };
|
||||
return this._playTranscodable(input, options);
|
||||
}
|
||||
@@ -272,10 +270,6 @@ class VoiceBroadcast extends VolumeInterface {
|
||||
}
|
||||
}
|
||||
|
||||
guaranteeOpusEngine() {
|
||||
if (!this.opusEncoder) throw new Error('Couldn\'t find an Opus engine.');
|
||||
}
|
||||
|
||||
_startPlaying() {
|
||||
if (this.tickInterval) clearInterval(this.tickInterval);
|
||||
// Old code?
|
||||
|
||||
Reference in New Issue
Block a user