mirror of
https://github.com/danbulant/discord.js
synced 2026-06-18 22:21:17 +00:00
Webpack build for branch 11.3-dev: 8226752098
This commit is contained in:
parent
3720427450
commit
1bad41b6cd
2 changed files with 7 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
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