docs(PlayInterface): update example for broadcast

Co-authored-by: Carter <45381083+Fyko@users.noreply.github.com>
This commit is contained in:
Crawl
2020-03-17 09:13:19 +01:00
committed by GitHub
parent 7b38f46caf
commit 7994b5612a

View File

@@ -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