mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 01:53:30 +01:00
Fix setBitrate typo in VoiceChannel.js (#984)
Fixed simple typo that prevented setBitrate method from working.
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user