mirror of
https://github.com/danbulant/discord.js
synced 2026-07-05 19:20:42 +00:00
Webpack build: 91e0a81d6b
This commit is contained in:
parent
daf69049a5
commit
3a5db7f7d5
2 changed files with 4 additions and 4 deletions
|
|
@ -23182,7 +23182,7 @@ class VoiceBroadcast extends EventEmitter {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Play the given file in the voice connection.
|
* Play the given file in the voice connection.
|
||||||
* @param {string} file The path to the file
|
* @param {string} file The absolute path to the file
|
||||||
* @param {StreamOptions} [options] Options for playing the stream
|
* @param {StreamOptions} [options] Options for playing the stream
|
||||||
* @returns {StreamDispatcher}
|
* @returns {StreamDispatcher}
|
||||||
* @example
|
* @example
|
||||||
|
|
@ -23198,7 +23198,7 @@ class VoiceBroadcast extends EventEmitter {
|
||||||
*/
|
*/
|
||||||
playFile(file, { seek = 0, volume = 1, passes = 1 } = {}) {
|
playFile(file, { seek = 0, volume = 1, passes = 1 } = {}) {
|
||||||
const options = { seek, volume, passes };
|
const options = { seek, volume, passes };
|
||||||
return this._playTranscodable(file, options);
|
return this._playTranscodable(`file:${file}`, options);
|
||||||
}
|
}
|
||||||
|
|
||||||
_playTranscodable(media, options) {
|
_playTranscodable(media, options) {
|
||||||
|
|
|
||||||
4
discord.indev-prism.min.js
vendored
4
discord.indev-prism.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue