mirror of
https://github.com/discordjs/discord.js.git
synced 2026-06-01 16:40:07 +00:00
Add more undefined checks
This commit is contained in:
@@ -1941,8 +1941,6 @@ export default class InternalClient {
|
||||
}
|
||||
} else if (!server) {
|
||||
client.emit("warn", "server was updated but it was not in the cache");
|
||||
this.servers.add(new Server(data, client));
|
||||
client.emit("serverCreated", server);
|
||||
}
|
||||
break;
|
||||
case PacketType.CHANNEL_CREATE:
|
||||
|
||||
Reference in New Issue
Block a user