aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index f69aad97..9627adb7 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -333,7 +333,7 @@ class ConnectionState(object):
self.dispatch('member_update', member)
def handle_guild_create(self, data):
- unavailable = data.get('unavailable', False)
+ unavailable = data.get('unavailable')
if unavailable == False:
# GUILD_CREATE with unavailable in the response
# usually means that the server has become available