From 7f5a0ae16803fe892f6afa12db468dfe134361f4 Mon Sep 17 00:00:00 2001 From: samsamson33 Date: Thu, 27 Feb 2020 10:10:12 -0500 Subject: [PATCH] Revert "docs: fix voice broadcast example code (#3436)" This reverts commit b07f597d454c571646de02f87fe5a00587bc9b6a. --- docs/topics/voice.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/voice.md b/docs/topics/voice.md index 6a39f5a3f8b9..e48b8b3254e1 100644 --- a/docs/topics/voice.md +++ b/docs/topics/voice.md @@ -114,7 +114,7 @@ Make sure to consult the documentation for a full list of what you can play - th A voice broadcast is very useful for "radio" bots, that play the same audio across multiple channels. It means audio is only transcoded once, and is much better on performance. ```js -const broadcast = client.voice.createBroadcast(); +const broadcast = client.createVoiceBroadcast(); broadcast.on('subscribe', dispatcher => { console.log('New broadcast subscriber!');