mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Add more undefined checks
This commit is contained in:
@@ -2216,8 +2216,6 @@ var InternalClient = (function () {
|
||||
}
|
||||
} else if (!server) {
|
||||
client.emit("warn", "server was updated but it was not in the cache");
|
||||
this.servers.add(new _StructuresServer2["default"](data, client));
|
||||
client.emit("serverCreated", server);
|
||||
}
|
||||
break;
|
||||
case _Constants.PacketType.CHANNEL_CREATE:
|
||||
|
||||
Reference in New Issue
Block a user