mirror of
https://github.com/danbulant/discord.js
synced 2026-07-10 21:50:59 +00:00
docs(PlayInterface): update example for broadcast
Co-authored-by: Carter <45381083+Fyko@users.noreply.github.com>
This commit is contained in:
parent
7b38f46caf
commit
7994b5612a
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ class PlayInterface {
|
||||||
* connection.play(ytdl('https://www.youtube.com/watch?v=ZlAU_w7-Xp8', { quality: 'highestaudio' }));
|
* 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.voice.createBroadcast();
|
||||||
* broadcast.play('/home/hydrabolt/audio.mp3');
|
* broadcast.play('/home/hydrabolt/audio.mp3');
|
||||||
* connection.play(broadcast);
|
* connection.play(broadcast);
|
||||||
* @example
|
* @example
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue