mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-31 13:32:57 +00:00 
			
		
		
		
	Make unavailable default to None.
This commit is contained in:
		| @@ -333,7 +333,7 @@ class ConnectionState(object): | |||||||
|             self.dispatch('member_update', member) |             self.dispatch('member_update', member) | ||||||
|  |  | ||||||
|     def handle_guild_create(self, data): |     def handle_guild_create(self, data): | ||||||
|         unavailable = data.get('unavailable', False) |         unavailable = data.get('unavailable') | ||||||
|         if unavailable == False: |         if unavailable == False: | ||||||
|             # GUILD_CREATE with unavailable in the response |             # GUILD_CREATE with unavailable in the response | ||||||
|             # usually means that the server has become available |             # usually means that the server has become available | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user