mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
Change ytdl example (#2619)
This commit is contained in:
parent
bfbb723f42
commit
ac0c15f7f1
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ class PlayInterface {
|
|||
* connection.play('/home/hydrabolt/audio.mp3', { volume: 0.5 });
|
||||
* @example
|
||||
* // Play a ReadableStream
|
||||
* connection.play(ytdl('https://www.youtube.com/watch?v=ZlAU_w7-Xp8', { filter: 'audioonly' }));
|
||||
* connection.play(ytdl('https://www.youtube.com/watch?v=ZlAU_w7-Xp8', { quality: 'highestaudio' }));
|
||||
* @example
|
||||
* // Play a voice broadcast
|
||||
* const broadcast = client.createVoiceBroadcast();
|
||||
|
|
|
|||
Loading…
Reference in a new issue