mirror of
https://github.com/danbulant/discord.js
synced 2026-06-24 01:01:53 +00:00
Webpack build for branch 11.3-dev: d705a0c7d0
This commit is contained in:
parent
dc96b33162
commit
c6d737234d
2 changed files with 2 additions and 2 deletions
|
|
@ -17218,7 +17218,7 @@ class RESTMethods {
|
|||
data.name = (_data.name || channel.name).trim();
|
||||
data.topic = _data.topic || channel.topic;
|
||||
data.position = _data.position || channel.position;
|
||||
data.bitrate = _data.bitrate || channel.bitrate;
|
||||
data.bitrate = _data.bitrate || (channel.bitrate ? channel.bitrate * 1000 : undefined);
|
||||
data.user_limit = _data.userLimit || channel.userLimit;
|
||||
data.parent_id = _data.parent || (channel.parent ? channel.parent.id : undefined);
|
||||
return this.rest.makeRequest('patch', Endpoints.Channel(channel), true, data, undefined, reason).then(newData =>
|
||||
|
|
|
|||
2
discord.11.3-dev.min.js
vendored
2
discord.11.3-dev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue