diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -200,6 +200,7 @@ function DiscordClient(options) {
 					if (
 						Object.keys(self.servers).every(function(s) {
 							s = self.servers[s];
+							if (s.unavailable) return;
 							return s.member_count <= Object.keys(s.members).length;
 						})
 					) return self.emit('ready', message)
Fix crash for larger bots. Thanks @Downy#<I>

Had no large bots to test this new change.