Skip to content

Commit

Permalink
docs(PlayInterface): update example for broadcast
Browse files Browse the repository at this point in the history
Co-authored-by: Carter <45381083+Fyko@users.noreply.github.com>
  • Loading branch information
iCrawl and Fyko authored Mar 17, 2020
1 parent 7b38f46 commit 7994b56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/voice/util/PlayInterface.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7994b56

Please sign in to comment.