Docs updated
This commit is contained in:
parent
844a3a4b8c
commit
47380681e1
@ -97,9 +97,9 @@ _This is basic to create a stream from a info [ from [video_info](https://github
|
|||||||
```js
|
```js
|
||||||
let source = await stream_from_info(info) // This will create a stream Class from video_info or SoundCoudTrack Class.
|
let source = await stream_from_info(info) // This will create a stream Class from video_info or SoundCoudTrack Class.
|
||||||
|
|
||||||
/* OR
|
|
||||||
let source = await stream_from_info(info, { cookie }) This will create a stream Class and also give cookies if retrying.
|
let source = await stream_from_info(info, { cookie }) //This will create a stream Class and also give cookies if retrying.
|
||||||
*/
|
|
||||||
|
|
||||||
let resource = createAudioResource(source.stream, {
|
let resource = createAudioResource(source.stream, {
|
||||||
inputType : source.type
|
inputType : source.type
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user