Update VoiceCall.md

This commit is contained in:
March 7th 2022-05-21 21:26:20 +07:00
parent 307d173a29
commit d95a88b8d5

View File

@ -26,6 +26,7 @@ const play = require('play-dl');
const {
createAudioPlayer,
createAudioResource,
NoSubscriberBehavior,
} = require('@discordjs/voice');
let stream = await play.stream('youtube link');
let resource = createAudioResource(stream.stream, {