Webpack build for branch master: b8c70e7935

This commit is contained in:
Travis CI 2017-10-03 10:03:50 +00:00
parent 5e8902493c
commit 6c94ea291f
2 changed files with 5 additions and 5 deletions

View file

@ -3599,7 +3599,7 @@ class GuildChannel extends Channel {
data: {
name: (data.name || this.name).trim(),
topic: data.topic,
position: data.position || this.rawPosition,
position: typeof data.position === 'number' ? 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.id,
guild_id: this.guild.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.id,
guild_id: this.guild.id,
channels: updatedRoles,
});
return this;
@ -8853,7 +8853,7 @@ class Message extends Base {
*/
/**
* Similar to createMessageCollector but in promise form.
* Similar to createReactionCollector but in promise form.
* Resolves with a collection of reactions that pass the specified filter.
* @param {CollectorFilter} filter The filter function to use
* @param {AwaitReactionsOptions} [options={}] Optional options to pass to the internal collector

File diff suppressed because one or more lines are too long