mirror of
https://github.com/danbulant/discord.js
synced 2026-06-24 17:21:59 +00:00
Webpack build for branch master: fc43736447
This commit is contained in:
parent
6b70748935
commit
5e8902493c
2 changed files with 4 additions and 4 deletions
|
|
@ -3599,7 +3599,7 @@ class GuildChannel extends Channel {
|
|||
data: {
|
||||
name: (data.name || this.name).trim(),
|
||||
topic: data.topic,
|
||||
position: typeof data.position === 'number' ? data.position : this.rawPosition,
|
||||
position: data.position || this.rawPosition,
|
||||
bitrate: data.bitrate || (this.bitrate ? this.bitrate * 1000 : undefined),
|
||||
user_limit: data.userLimit != null ? data.userLimit : this.userLimit, // eslint-disable-line eqeqeq
|
||||
parent_id: data.parentID,
|
||||
|
|
@ -3676,7 +3676,7 @@ class GuildChannel extends Channel {
|
|||
this.guild._sortedChannels(this), this.client.api.guilds(this.guild.id).channels, reason)
|
||||
.then(updatedChannels => {
|
||||
this.client.actions.GuildChannelsPositionUpdate.handle({
|
||||
guild_id: this.guild.id,
|
||||
guild_id: this.id,
|
||||
channels: updatedChannels,
|
||||
});
|
||||
return this;
|
||||
|
|
@ -5583,7 +5583,7 @@ class Role extends Base {
|
|||
this.guild._sortedRoles(), this.client.api.guilds(this.guild.id).roles, reason)
|
||||
.then(updatedRoles => {
|
||||
this.client.actions.GuildRolesPositionUpdate.handle({
|
||||
guild_id: this.guild.id,
|
||||
guild_id: this.id,
|
||||
channels: updatedRoles,
|
||||
});
|
||||
return this;
|
||||
|
|
|
|||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue