mirror of
https://github.com/danbulant/discord.js
synced 2026-07-09 21:20:54 +00:00
Fix setBitrate typo in VoiceChannel.js (#984)
Fixed simple typo that prevented setBitrate method from working.
This commit is contained in:
parent
4bb2afe7cb
commit
1c61b46660
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ class VoiceChannel extends GuildChannel {
|
||||||
* .catch(console.error);
|
* .catch(console.error);
|
||||||
*/
|
*/
|
||||||
setBitrate(bitrate) {
|
setBitrate(bitrate) {
|
||||||
return this.rest.client.rest.methods.updateChannel(this, { bitrate });
|
return this.client.rest.methods.updateChannel(this, { bitrate });
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue