aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add InvalidArgument exception and change exceptions thrown.Rapptz2015-10-273-7/+19
|
* All HTTP requests now throw HTTPException.Rapptz2015-10-273-161/+200
|
* Document cases where GatewayNotFound is thrown.Rapptz2015-10-271-3/+12
|
* GatewayNotFound now has a default message.Rapptz2015-10-271-1/+5
|
* Rename InvaldiDestination to a generic ClientException.Rapptz2015-10-273-5/+9
|
* All exceptions now derive from DiscordException.Rapptz2015-10-272-4/+10
|
* Remove InvalidEventName exception due to it being unusedRapptz2015-10-273-9/+1
|
* Add discord.Object to the documentation.Rapptz2015-10-271-0/+3
|
* Add support for passing in Object to methods.Rapptz2015-10-271-14/+15
|
* Make Message.channel an Object if something goes wrong.Rapptz2015-10-271-3/+8
| | | | Fixes #21
* Add discord.Object class for generic pass-by-ID.Rapptz2015-10-273-0/+52
|
* Split data classes into more files.Rapptz2015-10-276-242/+295
|
* Remove the name from logging.Rapptz2015-10-251-39/+38
| | | | Fixes #28.
* Check if member is in list for GUILD_MEMBER_REMOVE.Rapptz2015-10-251-2/+3
|
* Don't update member.roles in add/remove_roles.Rapptz2015-10-241-14/+2
|
* Support unavailable servers.Rapptz2015-10-243-0/+41
|
* Add Channel.mention to mention a channel.Rapptz2015-10-231-0/+4
|
* Add Message.server attribute shortcut.Rapptz2015-10-231-0/+4
|
* Version bump to v0.8.0v0.8.0Rapptz2015-10-221-2/+2
|
* Fix documentation warnings.Rapptz2015-10-221-6/+6
|
* Change default parameter to None for Client.set_channel_permissionsRapptz2015-10-221-1/+4
|
* Add Client.delete_channel_permissionsRapptz2015-10-221-0/+20
| | | | Fixes #18
* Add Client.set_channel_permissionsRapptz2015-10-221-0/+47
|
* Change Permissions constants to be class method factories instead.Rapptz2015-10-222-3/+47
|
* Change Colour constants to be class method factories instead.Rapptz2015-10-221-95/+109
|
* Fix permission resolution in Channel.permissions_forRapptz2015-10-221-13/+15
|
* Print to stderr in on_errorHornwitser2015-10-223-17/+14
| | | | | | | | | | | | | | | 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 instructions for installing development version.Rapptz2015-10-211-0/+6
|
* Documentation fixes for Message.Rapptz2015-10-211-4/+6
|
* Add note for edit_role about custom RGB colours.Rapptz2015-10-211-0/+7
|
* Better detection for the everyone role. Fixes #23.Rapptz2015-10-212-5/+8
|
* Add Client.replace_rolesRapptz2015-10-211-2/+33
|
* Add Client.add_roles and Client.remove_rolesRapptz2015-10-211-0/+59
|
* Log to root logger by default in on_errorHornwitser2015-10-212-9/+15
| | | | | | | | | | | | | | 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.Rapptz2015-10-201-1/+1
|
* Change default limit for Client.logs_from to 100.Rapptz2015-10-191-1/+1
|
* Properly set requirements of ws4py and requests.Rapptz2015-10-183-6/+6
|
* Add Client.create_role to create a server-wide role.Rapptz2015-10-171-0/+22
|
* Change Client.edit_role to be less stateful.Rapptz2015-10-171-18/+23
|
* Document Permissions constants and set default permissions to 0.Rapptz2015-10-171-1/+29
|
* Add Channel.permissions_for and PrivateChannel.permissions_for.Rapptz2015-10-172-14/+128
| | | | | | These functions handle permission resolution for a specific member. Aids with #18.
* Fix bug with member voice state update.Rapptz2015-10-171-3/+4
|
* Better detection for the @everyone role.Rapptz2015-10-172-3/+8
|
* Add Role.managed property.Rapptz2015-10-161-0/+5
|
* Only remove if the user is actually in the voice channel.Rapptz2015-10-161-1/+1
|
* on_socket_response now handles non-op 0 websocket messages.Rapptz2015-10-161-5/+8
|
* Use compact encoding for json on websocketHornwitser2015-10-161-2/+2
| | | | | Remove extra whitespace from json encoding used when sending messages on the websocket.
* Add events for sniffing the WebSocket dataHornwitser2015-10-162-0/+42
| | | | | | | 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.
* Add Channel.voice_membersRapptz2015-10-162-0/+14
| | | | | This allows you to see which members are currently in a voice channel.
* Separate colour tuple into its own class.Rapptz2015-10-165-53/+220
| | | | | Also enumerate all the constant colours that Discord currently supports.