Webpack build for branch 11.3-dev: 8226752098

This commit is contained in:
Travis CI 2018-01-05 21:31:16 +00:00
parent 3720427450
commit 1bad41b6cd
2 changed files with 7 additions and 4 deletions

View file

@ -7696,10 +7696,10 @@ class GuildChannel extends Channel {
* When concatenated with a string, this automatically returns the channel's mention instead of the Channel object.
* @returns {string}
* @example
* // Outputs: Hello from #general
* // Logs: Hello from <#123456789012345678>
* console.log(`Hello from ${channel}`);
* @example
* // Outputs: Hello from #general
* // Logs: Hello from <#123456789012345678>
* console.log('Hello from ' + channel);
*/
toString() {
@ -19672,7 +19672,10 @@ class VoiceStateUpdateHandler extends AbstractHandler {
}
const newChannel = client.channels.get(data.channel_id);
if (newChannel) newChannel.members.set(member.user.id, member);
if (newChannel) {
newChannel.members.set(member.id, member);
member.guild.channels.set(data.channel_id, newChannel);
}
member.serverMute = data.mute;
member.serverDeaf = data.deaf;

File diff suppressed because one or more lines are too long