| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge send_raw_file and send_file | Rapptz | 2015-11-21 | 1 | -35/+32 |
| | | |||||
| * | Use try-except instead of checking for membership. | Rapptz | 2015-11-20 | 1 | -2/+8 |
| | | | | | | | Basically, a lot of the checks revolving "if x in y" could be written more efficiently by doing the task anyway and ignoring the exception a la the EAFP guideline. | ||||
| * | Allow sending raw file objects in memory with client.send_raw_file | Red_M | 2015-11-20 | 1 | -0/+32 |
| | | |||||
| * | Add send_typing command to allow sending typing updates. | Khazhismel | 2015-11-19 | 1 | -0/+18 |
| | | |||||
| * | Add Client.get_all_channels and Client.get_all_members | Rapptz | 2015-11-16 | 1 | -0/+32 |
| | | |||||
| * | Documentation fixes for Client.logs_from | Rapptz | 2015-11-16 | 1 | -2/+2 |
| | | |||||
| * | Add before and after params to logs_from. | Khazhismel | 2015-11-16 | 1 | -1/+10 |
| | | |||||
| * | Fix Client.unban parameter name (name -> user) | Rapptz | 2015-11-16 | 1 | -1/+1 |
| | | |||||
| * | Clean-up guild_delete. | Rapptz | 2015-11-16 | 1 | -9/+8 |
| | | |||||
| * | Make unavailable default to None. | Rapptz | 2015-11-16 | 1 | -1/+1 |
| | | |||||
| * | Attempt to fix unavailable guilds again | Rapptz | 2015-11-16 | 1 | -1/+6 |
| | | |||||
| * | Change iterable to an argument list in role related documentation. | Rapptz | 2015-11-07 | 1 | -3/+3 |
| | | |||||
| * | Fix Client.create_role | Rapptz | 2015-11-07 | 1 | -4/+5 |
| | | |||||
| * | Change on_server_create/delete to on_server_join/remove. | Rapptz | 2015-11-01 | 1 | -2/+2 |
| | | |||||
| * | Document Client.login raising exceptions. | Rapptz | 2015-10-27 | 1 | -1/+2 |
| | | |||||
| * | Add InvalidArgument exception and change exceptions thrown. | Rapptz | 2015-10-27 | 1 | -7/+7 |
| | | |||||
| * | All HTTP requests now throw HTTPException. | Rapptz | 2015-10-27 | 1 | -157/+167 |
| | | |||||
| * | Document cases where GatewayNotFound is thrown. | Rapptz | 2015-10-27 | 1 | -3/+12 |
| | | |||||
| * | Rename InvaldiDestination to a generic ClientException. | Rapptz | 2015-10-27 | 1 | -1/+3 |
| | | |||||
| * | Remove InvalidEventName exception due to it being unused | Rapptz | 2015-10-27 | 1 | -1/+1 |
| | | |||||
| * | Add support for passing in Object to methods. | Rapptz | 2015-10-27 | 1 | -14/+15 |
| | | |||||
| * | Split data classes into more files. | Rapptz | 2015-10-27 | 1 | -1/+2 |
| | | |||||
| * | Remove the name from logging. | Rapptz | 2015-10-25 | 1 | -39/+38 |
| | | | | | Fixes #28. | ||||
| * | Check if member is in list for GUILD_MEMBER_REMOVE. | Rapptz | 2015-10-25 | 1 | -2/+3 |
| | | |||||
| * | Don't update member.roles in add/remove_roles. | Rapptz | 2015-10-24 | 1 | -14/+2 |
| | | |||||
| * | Support unavailable servers. | Rapptz | 2015-10-24 | 1 | -0/+25 |
| | | |||||
| * | Fix documentation warnings. | Rapptz | 2015-10-22 | 1 | -6/+6 |
| | | |||||
| * | Change default parameter to None for Client.set_channel_permissions | Rapptz | 2015-10-22 | 1 | -1/+4 |
| | | |||||
| * | Add Client.delete_channel_permissions | Rapptz | 2015-10-22 | 1 | -0/+20 |
| | | | | | Fixes #18 | ||||
| * | Add Client.set_channel_permissions | Rapptz | 2015-10-22 | 1 | -0/+47 |
| | | |||||
| * | Print to stderr in on_error | Hornwitser | 2015-10-22 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | 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. | ||||
| * | Add note for edit_role about custom RGB colours. | Rapptz | 2015-10-21 | 1 | -0/+7 |
| | | |||||
| * | Better detection for the everyone role. Fixes #23. | Rapptz | 2015-10-21 | 1 | -3/+6 |
| | | |||||
| * | Add Client.replace_roles | Rapptz | 2015-10-21 | 1 | -2/+33 |
| | | |||||
| * | Add Client.add_roles and Client.remove_roles | Rapptz | 2015-10-21 | 1 | -0/+59 |
| | | |||||
| * | Log to root logger by default in on_error | Hornwitser | 2015-10-21 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | 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. | ||||
| * | Fix Client.create_invite invalid method call issue. | Rapptz | 2015-10-20 | 1 | -1/+1 |
| | | |||||
| * | Change default limit for Client.logs_from to 100. | Rapptz | 2015-10-19 | 1 | -1/+1 |
| | | |||||
| * | Add Client.create_role to create a server-wide role. | Rapptz | 2015-10-17 | 1 | -0/+22 |
| | | |||||
| * | Change Client.edit_role to be less stateful. | Rapptz | 2015-10-17 | 1 | -18/+23 |
| | | |||||
| * | on_socket_response now handles non-op 0 websocket messages. | Rapptz | 2015-10-16 | 1 | -5/+8 |
| | | |||||
| * | Use compact encoding for json on websocket | Hornwitser | 2015-10-16 | 1 | -2/+2 |
| | | | | | | Remove extra whitespace from json encoding used when sending messages on the websocket. | ||||
| * | Add events for sniffing the WebSocket data | Hornwitser | 2015-10-16 | 1 | -0/+5 |
| | | | | | | | | Add on_socket_raw_receive and on_socket_raw_send events for sniffing the data being received and sent on the websocket. Useful for debugging and logging websocket messages received and sent on the link to Discord's servers. | ||||
| * | Separate colour tuple into its own class. | Rapptz | 2015-10-16 | 1 | -1/+2 |
| | | | | | | Also enumerate all the constant colours that Discord currently supports. | ||||
| * | Handle VOICE_STATE_UPDATE websocket events. | Rapptz | 2015-10-15 | 1 | -1/+18 |
| | | | | | | | | | | | | This adds a lot of new attributes into the Member class such as giving a voice_channel that the user is currently connected to. Initially there was a plan to have a voice_members attribute in the Channel class but this proved to be difficult when it came to actually removing users from the voice channel as the response would return channel_id as null. Fixes #16. | ||||
| * | Handle GUILD_ROLE_UPDATE websocket events. | Rapptz | 2015-10-15 | 1 | -2/+11 |
| | | |||||
| * | Handle GUILD_ROLE_DELETE websocket events. | Rapptz | 2015-10-15 | 1 | -1/+9 |
| | | |||||
| * | Handle GUILD_ROLE_CREATE websocket events. | Rapptz | 2015-10-15 | 1 | -1/+8 |
| | | |||||
| * | Check if the server is valid during GUILD_MEMBER_REMOVE. | Rapptz | 2015-10-15 | 1 | -4/+5 |
| | | |||||
| * | Add Client.change_status. | Rapptz | 2015-10-14 | 1 | -0/+30 |
| | | |||||