diff --git a/docs/README.md b/docs/README.md index 5f0fc0c..92c54e9 100644 --- a/docs/README.md +++ b/docs/README.md @@ -97,9 +97,9 @@ _This is basic to create a stream from a info [ from [video_info](https://github ```js 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, { inputType : source.type