mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Change ytdl example (#2619)
This commit is contained in:
committed by
Crawl
parent
bfbb723f42
commit
ac0c15f7f1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user