chore(release): v2.3.75

- fix: VoiceStateUpdate event not working (DM channels + Group DM channels)
- docs: add sendSlash method
- feat: Add new Event: callCreate, callUpdate, callDelete
- fix(GroupDM): method require Class
This commit is contained in:
March 7th
2022-07-15 17:26:25 +07:00
parent fb6ab3f8e8
commit fad6d708b4
17 changed files with 826 additions and 780 deletions

View File

@@ -115,7 +115,13 @@ module.exports = (client, { d: data }, shard) => {
client.user._patchNote(data.notes);
for (const private_channel of data.private_channels) {
client.channels._add(private_channel);
const PrivateChannel = client.channels._add(private_channel);
client.ws.broadcast({
op: Opcodes.DM_UPDATE,
d: {
channel_id: PrivateChannel.id,
},
});
}
// Remove event because memory leak