mirror of
https://github.com/danbulant/discord.js
synced 2026-06-20 07:02:00 +00:00
Webpack build: eacbfbd520
This commit is contained in:
parent
543e425fd6
commit
daf69049a5
2 changed files with 16 additions and 5 deletions
|
|
@ -23253,6 +23253,17 @@ class VoiceBroadcast extends EventEmitter {
|
|||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Play an arbitrary input that can be [handled by ffmpeg](https://ffmpeg.org/ffmpeg-protocols.html#Description)
|
||||
* @param {string} input the arbitrary input
|
||||
* @param {StreamOptions} [options] Options for playing the stream
|
||||
* @returns {VoiceBroadcast}
|
||||
*/
|
||||
playArbitraryInput(input, { seek = 0, volume = 1, passes = 1 } = {}) {
|
||||
const options = { seek, volume, passes };
|
||||
return this.player.playUnknownStream(input, options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Pauses the entire broadcast - all dispatchers also pause
|
||||
*/
|
||||
|
|
|
|||
10
discord.indev-prism.min.js
vendored
10
discord.indev-prism.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue