mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
I think I got ChannelUpdate working??
This commit is contained in:
@@ -20,12 +20,7 @@ class ChannelUpdateHandler extends AbstractHandler {
|
||||
let data = packet.d;
|
||||
let client = this.packetManager.client;
|
||||
|
||||
let channel = client.store.get('channels', data.id);
|
||||
|
||||
if (channel) {
|
||||
client.store.UpdateChannel(channel, data);
|
||||
}
|
||||
|
||||
client.actions.ChannelUpdate.handle(data);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user