mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +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' }));
|
||||
* @example
|
||||
* // Play a voice broadcast
|
||||
* const broadcast = client.createVoiceBroadcast();
|
||||
* const broadcast = client.voice.createBroadcast();
|
||||
* broadcast.play('/home/hydrabolt/audio.mp3');
|
||||
* connection.play(broadcast);
|
||||
* @example
|
||||
|
|
|
|||
Loading…
Reference in a new issue