mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-30 12:22:48 +00:00
Docs and examples updated
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
const { Authorization } = require('play-dl');
|
||||
|
||||
Authorization()
|
||||
@@ -22,7 +22,7 @@ client.on('messageCreate', async message => {
|
||||
let searched = await play.search(`${sp_data.name}`, { limit : 1 }) // This will search the found track on youtube.
|
||||
let stream = await play.stream(searched[0].url) // This will create stream from the above search
|
||||
|
||||
let resource = createAudioResource(stream.stream, {
|
||||
let resource = createAudioResource(stream, {
|
||||
inputType : stream.type
|
||||
})
|
||||
let player = createAudioPlayer({
|
||||
|
||||
Reference in New Issue
Block a user