docs: fix ReferenceError: createStream is not defined

This commit is contained in:
March 7th 2022-08-16 18:48:47 +07:00
parent 75c8edb26b
commit 954d054c65

View File

@ -403,7 +403,7 @@ class Player extends EventEmitter {
if (!this._previousSongs.length) throw new Error('No previous songs');
const previousSong = this._previousSongs.pop();
this.song = previousSong;
await createStream(this.song.url);
await this.reateStream(this.song.url);
await this.joinVC();
this._play();
this.emit(Event.PLAY_SONG, this.song, this.queue);