From 1c61b466602912179a82c553ec993600b6c04919 Mon Sep 17 00:00:00 2001 From: Pio Date: Wed, 14 Dec 2016 09:45:09 -0500 Subject: [PATCH] Fix setBitrate typo in VoiceChannel.js (#984) Fixed simple typo that prevented setBitrate method from working. --- src/structures/VoiceChannel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/VoiceChannel.js b/src/structures/VoiceChannel.js index 2bc565d8b..162e715f3 100644 --- a/src/structures/VoiceChannel.js +++ b/src/structures/VoiceChannel.js @@ -72,7 +72,7 @@ class VoiceChannel extends GuildChannel { * .catch(console.error); */ setBitrate(bitrate) { - return this.rest.client.rest.methods.updateChannel(this, { bitrate }); + return this.client.rest.methods.updateChannel(this, { bitrate }); } /**