mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-20 13:33:30 +01:00
docs(PlayInterface): update example for broadcast
Co-authored-by: Carter <45381083+Fyko@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user