Rapptz 
							
						 
					 
					
						
						
							
						
						a128249b63 
					 
					
						
						
							
							Add support for different message types and call message.  
						
						
						
						
					 
					
						2016-07-13 20:11:18 -04:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						ddd3fd0a3d 
					 
					
						
						
							
							Begin working on gateway v6 changes.  
						
						... 
						
						
						
						The first batch of changes are related to channel types and group
direct messages. Support these first so READY begins parsing. 
						
						
					 
					
						2016-07-13 00:10:16 -04:00 
						 
				 
			
				
					
						
							
							
								PC 
							
						 
					 
					
						
						
							
						
						1aceb4ee8d 
					 
					
						
						
							
							Change max_length to max_messages  
						
						
						
						
					 
					
						2016-06-28 18:23:25 +02:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						fb82a37cc6 
					 
					
						
						
							
							Add discord.PermissionOverwrite type for channel-specific overwrites.  
						
						
						
						
					 
					
						2016-06-14 22:26:13 -04:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						a175c86aa1 
					 
					
						
						
							
							Add Client.application_info to retrieve the current app info.  
						
						... 
						
						
						
						Fixes  #241 . 
					
						2016-06-10 22:28:15 -04:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						d914c0a4e4 
					 
					
						
						
							
							Clarify on_ready triggering more than twice.  
						
						... 
						
						
						
						On that note, fix the background_task example to use `Client.run`
instead of manual loop management. That way the task will be cleaned
up and cancelled inside `Client.run`. 
						
						
					 
					
						2016-06-10 20:16:21 -04:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						5016f12079 
					 
					
						
						
							
							Add Role.server attribute.  
						
						... 
						
						
						
						This breaks events that expected a server parameter for the role events. 
						
						
					 
					
						2016-06-01 19:27:48 -04:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						e0a91df32b 
					 
					
						
						
							
							Add RESUME support.  
						
						
						
						
					 
					
						2016-06-01 05:13:15 -04:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						1c623ccf11 
					 
					
						
						
							
							Begin working on gateway v4 support.  
						
						... 
						
						
						
						Bump websockets requirement to v3.1
Should be squashed... 
						
						
					 
					
						2016-04-27 18:36:13 -04:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						eedad13ac1 
					 
					
						
						
							
							Add utility function for generating OAuth2 urls.  
						
						
						
						
					 
					
						2016-04-08 22:51:57 -04:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						d133f9f761 
					 
					
						
						
							
							Clean up documentation of utils.snowflake_time  
						
						
						
						
					 
					
						2016-03-06 03:42:13 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						4584c68f0c 
					 
					
						
						
							
							Remove request_offline option.  
						
						
						
						
					 
					
						2016-02-14 21:49:34 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						94d31834fc 
					 
					
						
						
							
							Change enumerators into enumerations to please Voltana.  
						
						
						
						
					 
					
						2016-01-30 06:07:06 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						8b1854e759 
					 
					
						
						
							
							Add and remove some of the on_socket_* events.  
						
						... 
						
						
						
						on_socket_raw_receive and on_socket_raw_send were added back in an odd
way. The rest of them such as on_socket_closed, on_socket_opened, and
on_socket_receive were removed. 
						
						
					 
					
						2016-01-25 01:55:31 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						9d881ad475 
					 
					
						
						
							
							Add missing documentation for discord.Game  
						
						
						
						
					 
					
						2016-01-07 00:25:18 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						e88bc28236 
					 
					
						
						
							
							Documentation fixes to quiet Sphinx warnings.  
						
						
						
						
					 
					
						2016-01-07 00:21:00 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						2fd63fc3dd 
					 
					
						
						
							
							Document the fact that data classes use __slots__.  
						
						
						
						
					 
					
						2016-01-07 00:13:38 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						9075d46efd 
					 
					
						
						
							
							Add on_member_ban and on_member_unban events.  
						
						... 
						
						
						
						Fixes  #58 . 
					
						2015-12-17 18:22:16 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						00c8dae88d 
					 
					
						
						
							
							Add migrating guide for migrating to v0.10.0.  
						
						
						
						
					 
					
						2015-12-17 07:12:18 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						63565026c4 
					 
					
						
						
							
							Remove on_status event. Superseded by on_member_update.  
						
						
						
						
					 
					
						2015-12-17 06:18:08 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						49d78c69c7 
					 
					
						
						
							
							All update related events now pass in the previous state.  
						
						
						
						
					 
					
						2015-12-17 06:05:35 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						f8af89f88c 
					 
					
						
						
							
							Add headers to data classes for easier navigation.  
						
						
						
						
					 
					
						2015-12-09 23:35:31 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						5335f468d2 
					 
					
						
						
							
							Document discord.__version__ and discord.version_info  
						
						
						
						
					 
					
						2015-12-09 19:56:41 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						9bec041423 
					 
					
						
						
							
							Documentation fixes for opus related import errors.  
						
						
						
						
					 
					
						2015-12-08 19:47:47 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						72f355bb64 
					 
					
						
						
							
							Add OpusNotLoaded exception and opus.is_loaded utility function.  
						
						
						
						
					 
					
						2015-12-08 19:37:34 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						9deb7796a5 
					 
					
						
						
							
							Documentation fixes for opus bindings.  
						
						
						
						
					 
					
						2015-12-08 16:22:01 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						60945868b4 
					 
					
						
						
							
							Clear up some documentation.  
						
						
						
						
					 
					
						2015-12-08 06:51:46 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						80b32e769e 
					 
					
						
						
							
							Handle GUILD_UPDATE  
						
						
						
						
					 
					
						2015-12-06 03:09:55 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						79bdf2a721 
					 
					
						
						
							
							Add enumerators instead of strings.  
						
						... 
						
						
						
						Changes channel type, status and server region into 3.4 enums. 
						
						
					 
					
						2015-12-04 22:13:17 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						6fb2e35de3 
					 
					
						
						
							
							Move async_client.py to client.py  
						
						
						
						
					 
					
						2015-12-04 06:09:56 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						410e41e78d 
					 
					
						
						
							
							Implement a bunch of other HTTP request functions.  
						
						
						
						
					 
					
						2015-12-04 06:08:29 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						99254fdf96 
					 
					
						
						
							
							Add Forbidden and NotFound exceptions.  
						
						
						
						
					 
					
						2015-12-04 01:23:52 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						f197c34583 
					 
					
						
						
							
							Begin working on asyncio port.  
						
						
						
						
					 
					
						2015-12-04 00:16:34 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						343e3376ea 
					 
					
						
						
							
							on_member_update now takes in the older member state as a parameter.  
						
						
						
						
					 
					
						2015-11-30 07:37:48 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						307392ff19 
					 
					
						
						
							
							on_status event now has the old game ID and old status as parameters.  
						
						
						
						
					 
					
						2015-11-30 03:31:47 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						31fd5023f1 
					 
					
						
						
							
							Miscellaneous documentation fixes.  
						
						
						
						
					 
					
						2015-11-30 03:15:56 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						d243d0895c 
					 
					
						
						
							
							Add note about data classes instances.  
						
						
						
						
					 
					
						2015-11-28 20:42:56 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						e884119cd9 
					 
					
						
						
							
							Performance improvements in on_typing event.  
						
						
						
						
					 
					
						2015-11-27 17:29:36 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						b1b2c0d099 
					 
					
						
						
							
							Add LoginFailure exception for a clearer failure in Client.login  
						
						... 
						
						
						
						The older HTTPException is not exactly the clearest thing for people
who are new to programming or HTTP exceptions in general. 
						
						
					 
					
						2015-11-27 17:03:36 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						7f94f75223 
					 
					
						
						
							
							Handle TYPING_START event.  
						
						
						
						
					 
					
						2015-11-24 21:11:53 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						7161723034 
					 
					
						
						
							
							Change on_server_create/delete to on_server_join/remove.  
						
						
						
						
					 
					
						2015-11-01 15:30:20 -05:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						9b2a78a031 
					 
					
						
						
							
							Add InvalidArgument exception and change exceptions thrown.  
						
						
						
						
					 
					
						2015-10-27 21:25:21 -04:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						027b7b33c9 
					 
					
						
						
							
							All HTTP requests now throw HTTPException.  
						
						
						
						
					 
					
						2015-10-27 21:19:32 -04:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						d14bffcd96 
					 
					
						
						
							
							Rename InvaldiDestination to a generic ClientException.  
						
						
						
						
					 
					
						2015-10-27 19:02:12 -04:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						61e41ec3b9 
					 
					
						
						
							
							All exceptions now derive from DiscordException.  
						
						
						
						
					 
					
						2015-10-27 18:09:26 -04:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						6ae6bd8e6d 
					 
					
						
						
							
							Remove InvalidEventName exception due to it being unused  
						
						
						
						
					 
					
						2015-10-27 18:03:51 -04:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						f770fc1c67 
					 
					
						
						
							
							Add discord.Object to the documentation.  
						
						
						
						
					 
					
						2015-10-27 17:59:23 -04:00 
						 
				 
			
				
					
						
							
							
								Rapptz 
							
						 
					 
					
						
						
							
						
						5efddaf35d 
					 
					
						
						
							
							Support unavailable servers.  
						
						
						
						
					 
					
						2015-10-24 05:10:58 -04:00 
						 
				 
			
				
					
						
							
							
								Hornwitser 
							
						 
					 
					
						
						
							
						
						320cd39b6a 
					 
					
						
						
							
							Print to stderr in on_error  
						
						... 
						
						
						
						Apparently the clever hack for logging in on_error was not so clever
after all.  If logging isn't configured, by the logging modules
definition of not configured, which is root logger not having an
Handlers attached, it will call logging.basicConfig().  Which messes up
setups that define handlers for other loggers than the root logger.
Going directly to the root logger rather than using the broken
convenience methods for logger is not an option either, as logger before
Python 3.2 does not have lastResort on the root logger, and prints an
error when invoked without any handlers.
Resolve by printing tracebacks to stderr by default in on_error. 
						
						
					 
					
						2015-10-22 22:07:50 +02:00 
						 
				 
			
				
					
						
							
							
								Hornwitser 
							
						 
					 
					
						
						
							
						
						9ab1d041d4 
					 
					
						
						
							
							Log to root logger by default in on_error  
						
						... 
						
						
						
						Change the default implementation of on_error to log to the root logger
instead of discord.client and clarify that the exception is being
ignored.  This ensures that a message will be output to standard error
in case the logging module has not been configured.
Also removes the argument printing for the default on_error, this is due
to them often being too long, that they could cause another exception to
be thrown, and because it sometimes causes sensitive information to be
output such as Discord tokens and session ids.  It was also possible for
the length to get in the megabyte range with exceptions thrown by
on_socket_raw_receive in READY events. 
						
						
					 
					
						2015-10-21 01:03:25 +02:00