This commit is contained in:
Travis CI 2016-12-30 19:22:45 +00:00
parent daf69049a5
commit 3a5db7f7d5
2 changed files with 4 additions and 4 deletions

View file

@ -23182,7 +23182,7 @@ class VoiceBroadcast extends EventEmitter {
/**
* 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
* @returns {StreamDispatcher}
* @example
@ -23198,7 +23198,7 @@ class VoiceBroadcast extends EventEmitter {
*/
playFile(file, { seek = 0, volume = 1, passes = 1 } = {}) {
const options = { seek, volume, passes };
return this._playTranscodable(file, options);
return this._playTranscodable(`file:${file}`, options);
}
_playTranscodable(media, options) {

File diff suppressed because one or more lines are too long