Commit Graph

  • 2f86a853d6 Add invite management functions. Rapptz 2015-12-05 00:46:19 -05:00
  • 17171aaa60 Switch to NumPy style documentation. Rapptz 2015-12-04 23:43:31 -05:00
  • b87dfccfce Add server management commands. Rapptz 2015-12-04 23:35:28 -05:00
  • 79bdf2a721 Add enumerators instead of strings. Rapptz 2015-12-04 22:13:17 -05:00
  • 680575bf58 Add channel management functions Rapptz 2015-12-04 17:48:45 -05:00
  • 7177ddafd2 Add member management functions. Rapptz 2015-12-04 17:10:39 -05:00
  • 0489fcb481 Update README and setuputils related files to point to async version. Rapptz 2015-12-04 06:43:04 -05:00
  • 6fb2e35de3 Move async_client.py to client.py Rapptz 2015-12-04 06:09:56 -05:00
  • 410e41e78d Implement a bunch of other HTTP request functions. Rapptz 2015-12-04 06:08:29 -05:00
  • 99254fdf96 Add Forbidden and NotFound exceptions. Rapptz 2015-12-04 01:23:52 -05:00
  • f197c34583 Begin working on asyncio port. Rapptz 2015-12-04 00:16:34 -05:00
  • 5a666c3f0d Point to the docs in the README and clear up notes on breaking changes Rapptz 2015-11-30 20:24:17 -05:00
  • 56a71e3166 Don't silently swallow ValueError thrown from on_channel_delete. Rapptz 2015-11-30 17:55:25 -05:00
  • e08b278c52 Fix multiple CHANNEL_DELETE. Fixes #51. Rapptz 2015-11-30 17:49:51 -05:00
  • d3ac141b0f Use copy.copy instead of copy.deepcopy for on_message_edit. Rapptz 2015-11-30 07:38:48 -05:00
  • 343e3376ea on_member_update now takes in the older member state as a parameter. Rapptz 2015-11-30 07:37:48 -05:00
  • 307392ff19 on_status event now has the old game ID and old status as parameters. Rapptz 2015-11-30 03:31:03 -05:00
  • 31fd5023f1 Miscellaneous documentation fixes. Rapptz 2015-11-30 03:15:56 -05:00
  • 0176517453 Provide server/channel id/name as Object if client not joined to server. Khazhismel 2015-11-29 21:08:24 -05:00
  • 39988a36c9 Version bump to v0.9.0 v0.9.0 Rapptz 2015-11-28 23:08:35 -05:00
  • c3e7ba3671 Message.channel's Object instance has an is_private attribute now. Rapptz 2015-11-28 23:05:02 -05:00
  • ed53f3fb3a Add caveat note about Message.mention_everyone Rapptz 2015-11-28 22:35:53 -05:00
  • 5d4c555711 Switch to Sphinx RTD theme. Rapptz 2015-11-28 21:00:35 -05:00
  • 7121c39a94 Add some badges to the README. Rapptz 2015-11-28 20:55:41 -05:00
  • d243d0895c Add note about data classes instances. Rapptz 2015-11-28 20:42:56 -05:00
  • 101d8d52b6 Add warning for Message.mentions order being non-deterministic. Rapptz 2015-11-28 20:16:17 -05:00
  • 38e83f0999 "An array" -> "A list" for documentation purposes. Rapptz 2015-11-28 19:51:32 -05:00
  • 70c7a79719 Remove afk_channel_id and replace it with afk_channel. Rapptz 2015-11-28 19:28:31 -05:00
  • df3cb831a9 Member.roles array now has the default role as the first element. Rapptz 2015-11-28 19:26:25 -05:00
  • e10b6c767b Move server parsing code from Client to Server. Rapptz 2015-11-28 19:17:50 -05:00
  • d440e52a00 Add new_member.py example to showcase messaging new members. Rapptz 2015-11-27 18:20:35 -05:00
  • c25e667866 discord.Server is a valid destination in Client.send_message & co. Rapptz 2015-11-27 18:16:33 -05:00
  • 90d9c9b297 reply.py example now checks for self-authoring Rapptz 2015-11-27 18:01:52 -05:00
  • 7c060ee7f6 Document supported operations in discord.User Rapptz 2015-11-27 17:59:22 -05:00
  • 9fb2186785 Update to the new colours. Rapptz 2015-11-27 17:51:59 -05:00
  • e884119cd9 Performance improvements in on_typing event. Rapptz 2015-11-27 17:29:36 -05:00
  • b1b2c0d099 Add LoginFailure exception for a clearer failure in Client.login Rapptz 2015-11-27 17:03:36 -05:00
  • f83442096b Client.edit_message no longer checks for private channel. Rapptz 2015-11-27 16:01:39 -05:00
  • 4a32ae444a Add the message to the exception output. Rapptz 2015-11-27 03:34:27 -05:00
  • e75edc2e57 Document Client.run reconnection idiosyncrasy. Rapptz 2015-11-26 23:59:16 -05:00
  • 4a25011ee1 Revert "GIF support for avatars" Rapptz 2015-11-26 23:12:10 -05:00
  • 9a5bb439ec GIF support for avatars Rapptz 2015-11-26 22:55:26 -05:00
  • f0617fbb6a Add support for uploading avatars. Rapptz 2015-11-26 22:14:04 -05:00
  • 077817c126 Move _null_event and _verify_successful_response to utils Rapptz 2015-11-26 21:09:02 -05:00
  • af9e5bc67a Simplify examples to no longer use logging or Client.is_logged_in Rapptz 2015-11-26 19:30:09 -05:00
  • ea80812fdd Add Client.get_invite to turn a URL to an Invite object. Rapptz 2015-11-26 19:05:31 -05:00
  • 0d19273844 Client.accept_invite and Client.register now accept invite IDs. Rapptz 2015-11-26 18:43:26 -05:00
  • 7f94f75223 Handle TYPING_START event. Rapptz 2015-11-24 21:11:53 -05:00
  • 2e03927f2c Merge send_raw_file and send_file Rapptz 2015-11-21 01:31:51 -05:00
  • 57312d96f7 Fix annoying lack of parenthesis at end of HTTPException Rapptz 2015-11-20 23:35:23 -05:00
  • 5ca04ea08f Use try-except instead of checking for membership. Rapptz 2015-11-20 17:39:19 -05:00
  • 36b145aee2 Allow sending raw file objects in memory with client.send_raw_file Red_M 2015-11-20 15:10:05 +10:00
  • 52d3457443 Add send_typing command to allow sending typing updates. Khazhismel 2015-11-19 10:18:27 -05:00
  • 0b4706699f fixed voice_members not updating when changing channels Azza 2015-11-17 15:40:25 +11:00
  • acbbaa39ad Add Message.channel_mentions Rapptz 2015-11-19 23:10:15 -05:00
  • da37ff16c1 Add get_raw_[channel_]mentions to Message Rapptz 2015-11-19 23:01:43 -05:00
  • e88c194e9a Fix is_private check in mentions array handling. Rapptz 2015-11-19 22:20:07 -05:00
  • 692a6a3bc6 Fix ordering issue with Message.server Rapptz 2015-11-18 20:04:27 -05:00
  • 75658f46a2 Message.mentions now returns a list of Member instead of User Rapptz 2015-11-16 21:18:30 -05:00
  • cc59654216 Add Client.get_all_channels and Client.get_all_members Rapptz 2015-11-16 21:00:39 -05:00
  • d1a7d2cad2 Documentation fixes for Client.logs_from Rapptz 2015-11-16 20:52:56 -05:00
  • fcc540ec44 Add before and after params to logs_from. Khazhismel 2015-11-16 18:17:38 -05:00
  • 3e072db5d0 Fix Client.unban parameter name (name -> user) Rapptz 2015-11-16 18:20:44 -05:00
  • 52c1d134ba Clean-up guild_delete. Rapptz 2015-11-16 18:19:52 -05:00
  • 5ecaf1df4c Make unavailable default to None. Rapptz 2015-11-16 18:15:34 -05:00
  • 3d70966021 Attempt to fix unavailable guilds again Rapptz 2015-11-16 17:23:05 -05:00
  • 83a5449fc5 icon_url and get_default_channel in Server Hla 2015-11-15 17:18:32 +02:00
  • 85ac03a081 Role.is_everyone actually uses the proper check. Rapptz 2015-11-09 00:33:15 -05:00
  • 054cf2e1e0 Channel.permissions_for now correctly handles everyone overwrites. Rapptz 2015-11-09 00:32:38 -05:00
  • 7a4fab5566 Change iterable to an argument list in role related documentation. Rapptz 2015-11-07 18:08:50 -05:00
  • ad6fbbfe43 Fix Client.create_role Rapptz 2015-11-07 16:27:58 -05:00
  • 7161723034 Change on_server_create/delete to on_server_join/remove. Rapptz 2015-11-01 15:30:20 -05:00
  • 822e54200d Document Client.login raising exceptions. Rapptz 2015-10-27 23:02:50 -04:00
  • 9b2a78a031 Add InvalidArgument exception and change exceptions thrown. Rapptz 2015-10-27 21:25:21 -04:00
  • 027b7b33c9 All HTTP requests now throw HTTPException. Rapptz 2015-10-27 21:19:32 -04:00
  • cc397d6e6a Document cases where GatewayNotFound is thrown. Rapptz 2015-10-27 19:11:56 -04:00
  • 3266d1ed10 GatewayNotFound now has a default message. Rapptz 2015-10-27 19:08:29 -04:00
  • d14bffcd96 Rename InvaldiDestination to a generic ClientException. Rapptz 2015-10-27 18:45:45 -04:00
  • 61e41ec3b9 All exceptions now derive from DiscordException. Rapptz 2015-10-27 18:09:26 -04:00
  • 6ae6bd8e6d Remove InvalidEventName exception due to it being unused Rapptz 2015-10-27 18:03:51 -04:00
  • f770fc1c67 Add discord.Object to the documentation. Rapptz 2015-10-27 17:59:23 -04:00
  • dd2e08e185 Add support for passing in Object to methods. Rapptz 2015-10-27 17:38:36 -04:00
  • c49ff36a7b Make Message.channel an Object if something goes wrong. Rapptz 2015-10-27 17:21:08 -04:00
  • 9f12067b3d Add discord.Object class for generic pass-by-ID. Rapptz 2015-10-27 17:04:50 -04:00
  • a0073c734e Split data classes into more files. Rapptz 2015-10-27 16:23:20 -04:00
  • 616f2bb4e9 Remove the name from logging. Rapptz 2015-10-25 23:17:02 -04:00
  • 60dfd04439 Check if member is in list for GUILD_MEMBER_REMOVE. Rapptz 2015-10-25 23:08:06 -04:00
  • 2938d0cfcf Don't update member.roles in add/remove_roles. Rapptz 2015-10-24 23:36:12 -04:00
  • 5efddaf35d Support unavailable servers. Rapptz 2015-10-24 05:10:58 -04:00
  • 72674b4c2d Add Channel.mention to mention a channel. Rapptz 2015-10-23 21:04:52 -04:00
  • 1a13f9ad30 Add Message.server attribute shortcut. Rapptz 2015-10-23 17:41:28 -04:00
  • 8552e24945 Version bump to v0.8.0 v0.8.0 Rapptz 2015-10-22 22:21:52 -04:00
  • f018895f2c Fix documentation warnings. Rapptz 2015-10-22 22:12:53 -04:00
  • 6981c51e0a Change default parameter to None for Client.set_channel_permissions Rapptz 2015-10-22 22:11:13 -04:00
  • 6f76a5ab33 Add Client.delete_channel_permissions Rapptz 2015-10-22 21:41:09 -04:00
  • ec5b7bb493 Add Client.set_channel_permissions Rapptz 2015-10-22 21:37:44 -04:00
  • b94dffaf87 Change Permissions constants to be class method factories instead. Rapptz 2015-10-22 21:24:00 -04:00
  • 8b8312608c Change Colour constants to be class method factories instead. Rapptz 2015-10-22 20:56:51 -04:00
  • 9188184e85 Fix permission resolution in Channel.permissions_for Rapptz 2015-10-22 18:17:15 -04:00
  • 320cd39b6a Print to stderr in on_error Hornwitser 2015-10-22 21:23:36 +02:00