mirror of
https://github.com/danbulant/discord.js
synced 2026-06-07 16:52:16 +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 });
|
* connection.play('/home/hydrabolt/audio.mp3', { volume: 0.5 });
|
||||||
* @example
|
* @example
|
||||||
* // Play a ReadableStream
|
* // 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
|
* @example
|
||||||
* // Play a voice broadcast
|
* // Play a voice broadcast
|
||||||
* const broadcast = client.createVoiceBroadcast();
|
* const broadcast = client.createVoiceBroadcast();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue