Fix setBitrate typo in VoiceChannel.js (#984)

Fixed simple typo that prevented setBitrate method from working.
This commit is contained in:
Pio 2016-12-14 09:45:09 -05:00 committed by Schuyler Cebulskie
parent 4bb2afe7cb
commit 1c61b46660

View file

@ -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 });
}
/**