diff options
| author | Rapptz <[email protected]> | 2015-11-16 18:15:34 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2015-11-16 18:15:34 -0500 |
| commit | 5ecaf1df4cc2cf9a182f4a5c206ea9b08b70a85b (patch) | |
| tree | 0cceecb6d79d56363832b2ca0e2e89bec3c851b8 | |
| parent | Attempt to fix unavailable guilds again (diff) | |
| download | discord.py-5ecaf1df4cc2cf9a182f4a5c206ea9b08b70a85b.tar.xz discord.py-5ecaf1df4cc2cf9a182f4a5c206ea9b08b70a85b.zip | |
Make unavailable default to None.
| -rw-r--r-- | discord/client.py | 2 |
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 |