docs: fix ReferenceError: createStream is not defined
This commit is contained in:
parent
75c8edb26b
commit
954d054c65
@ -403,7 +403,7 @@ class Player extends EventEmitter {
|
|||||||
if (!this._previousSongs.length) throw new Error('No previous songs');
|
if (!this._previousSongs.length) throw new Error('No previous songs');
|
||||||
const previousSong = this._previousSongs.pop();
|
const previousSong = this._previousSongs.pop();
|
||||||
this.song = previousSong;
|
this.song = previousSong;
|
||||||
await createStream(this.song.url);
|
await this.reateStream(this.song.url);
|
||||||
await this.joinVC();
|
await this.joinVC();
|
||||||
this._play();
|
this._play();
|
||||||
this.emit(Event.PLAY_SONG, this.song, this.queue);
|
this.emit(Event.PLAY_SONG, this.song, this.queue);
|
||||||
|
Loading…
Reference in New Issue
Block a user