Commit Graph

  • e5cb7d295c Replace wait_for_* with a generic Client.wait_for Rapptz 2017-01-25 22:26:49 -05:00
  • b876133e87 Add compatibility shim for asyncio.Future creation. Rapptz 2017-01-25 21:38:50 -05:00
  • 62f43889c0 Remove unused ChannelPermissions namedtuple. Rapptz 2017-01-25 05:58:06 -05:00
  • c80cbf1931 Remove Client.__getattr__ and Client.__setattr__ shims. Rapptz 2017-01-25 05:50:35 -05:00
  • 234fd5180f Optimise attribute access when dispatching. Rapptz 2017-01-25 05:31:53 -05:00
  • 02f30f21c4 Implement User.profile coroutine to get a user's profile. Rapptz 2017-01-24 21:55:23 -05:00
  • f06024f236 Fix potential chunking woe. Rapptz 2017-01-23 07:08:29 -05:00
  • e1aaf74fa7 Add option to disable auto member chunking. Rapptz 2017-01-23 07:07:42 -05:00
  • d409196d3d Fix Client.create_server. khazhyk 2017-01-22 12:57:11 -08:00
  • d206ee792b Fix issue with user bots chunking unavailable guilds. Rapptz 2017-01-21 16:25:51 -05:00
  • 1ffb2ca7ac Allow unique invites for Client.create_invite. Rapptz 2017-01-21 16:23:14 -05:00
  • ea95d723e8 Version bump to v0.16.5 v0.16.5 Rapptz 2017-01-21 16:20:17 -05:00
  • e9a09539be Allow unique invites to be created in Client.create_invite. Rapptz 2017-01-21 16:19:53 -05:00
  • de18a0ee47 Fix issue with chunking on userbots when a guild is unavailable. Rapptz 2017-01-21 16:14:45 -05:00
  • ff9f5749e1 Update copyright year to 2017. Rapptz 2017-01-20 23:19:19 -05:00
  • 4c981ee631 Add support for relationships. Rapptz 2017-01-20 19:26:56 -05:00
  • e2acf7b2b9 Add ClientUser.premium boolean. Rapptz 2017-01-20 15:01:10 -05:00
  • fa384f2114 Make ClientUser separate from a regular User. Rapptz 2017-01-19 19:37:11 -05:00
  • 4b6b5bd35e Remove email/password based login. Rapptz 2017-01-19 18:32:17 -05:00
  • f465f88d81 Reimplement Guild.me property without patching it in. Rapptz 2017-01-18 19:54:47 -05:00
  • f4cadaf0cc Fix bug with GuildChannel.edit and Role.edit with positions. Rapptz 2017-01-16 18:19:18 -05:00
  • 5a6a3574b1 Fix bug with Client.move_channel and Client.move_role. v0.16.4 Rapptz 2017-01-16 18:13:49 -05:00
  • 898a05d5ea Fix AutoShardedClient docstring. Rapptz 2017-01-16 16:37:53 -05:00
  • ea72d5e63d [commands] Guarantee that local error handler is called before generic. Rapptz 2017-01-15 21:55:50 -05:00
  • 11b54d67c9 [commands] Change UserConverter to actually work with User, not Member. Rapptz 2017-01-14 22:15:02 -05:00
  • 92dd519b1a Remove _get_guild_id from Messageable ABC. Rapptz 2017-01-14 19:22:26 -05:00
  • ce9d5b4f4a [commands] Split process_commands into lower level bits. Rapptz 2017-01-14 19:15:32 -05:00
  • 87dc2f4dd3 Show inherited members in the docs for User and Member. Rapptz 2017-01-13 20:46:23 -05:00
  • 33450cd1b6 Fix documentation to properly use Messageable.send Rapptz 2017-01-13 20:35:44 -05:00
  • 695b62ccd3 [commands] Make Command a descriptor for #426. Rapptz 2017-01-13 20:34:00 -05:00
  • ced617e786 Use the improved role creation endpoint for making roles. Rapptz 2017-01-13 01:30:09 -05:00
  • 6d3a5eaeb6 Remove extraneous kwargs from Permissions constructor. Rapptz 2017-01-13 01:27:16 -05:00
  • 793cbedd0d Fix case where on_reaction_add returned None in PMs with users. Rapptz 2017-01-13 01:11:32 -05:00
  • c8247371f1 Fix 404s in pins_from and create_role routes. Rapptz 2017-01-12 18:05:46 -05:00
  • 9626210633 Fix 404s with Client.pins_from and Client.create_role. v0.16.3 Rapptz 2017-01-12 17:59:41 -05:00
  • ae6fb54b1b Make Reaction.users return an async iterator. Rapptz 2017-01-11 21:20:28 -05:00
  • b9b9d8c4d0 Fix NameError inside Messageable.get_message Rapptz 2017-01-11 20:26:06 -05:00
  • 06ca518459 Rename NoMoreMessages to NoMoreItems. Rapptz 2017-01-11 19:53:29 -05:00
  • 8c274139df Allow HistoryIterator to be flattened into a list. Rapptz 2017-01-11 16:36:15 -05:00
  • 0e0b569d53 Propagate event loop in Messageable.history. Rapptz 2017-01-11 13:24:28 -05:00
  • 7e2c016eaa Remove extraneous unneeded hash calls. Rapptz 2017-01-10 04:34:24 -05:00
  • 94448d3972 Fix NameError inside HTTPClient.edit_member. Rapptz 2017-01-09 21:30:59 -05:00
  • 3c6d677f85 Update README example. Rapptz 2017-01-09 21:25:03 -05:00
  • 89eb3392af Fix HTTPClient errors from the backport. v0.16.2 Rapptz 2017-01-09 21:00:24 -05:00
  • b86a568f86 Fix HTTP.application_info 404ing. Rapptz 2017-01-09 20:58:58 -05:00
  • f877efdd89 Change version info to 1.0.0a0. Rapptz 2017-01-09 20:52:11 -05:00
  • d460a747f6 Version bump to v0.16.1 v0.16.1 Rapptz 2017-01-09 19:43:11 -05:00
  • 6cd134ee47 Allow falsey values in Client.send_message and Client.send_file. Rapptz 2017-01-09 19:50:38 -05:00
  • f0fb91c35d Use CDN URL for assets. Rapptz 2017-01-09 19:36:48 -05:00
  • fdd835e8f1 Backport rate limit header implementation from rewrite. Rapptz 2017-01-09 19:33:39 -05:00
  • 6d33ea748a Implement rate limit headers. Rapptz 2017-01-09 18:51:24 -05:00
  • 6adfd633ea Allow Messageable.send to work with non-truthy types. Rapptz 2017-01-09 09:50:14 -05:00
  • c635ce2526 Simple parser for CHANNEL_PINS_UPDATE Ian Salmons 2017-01-09 01:07:28 +00:00
  • b09f25293b Use CDN URL for Guild.icon_url. Rapptz 2017-01-09 03:43:51 -05:00
  • 36a5925908 Return default avatar URL if an avatar is not given for User.avatar_url Rapptz 2017-01-09 03:41:01 -05:00
  • 63604e0566 Use CDN URL for default avatars. Rapptz 2017-01-09 03:35:51 -05:00
  • 5e201be792 Fix typo in Guild.invites Rapptz 2017-01-09 03:13:57 -05:00
  • 3780943d0a Add Guild.create_text_channel and Guild.create_voice_channel. Rapptz 2017-01-08 16:11:30 -05:00
  • 9224d9b9d3 Add missing fields to Embed.from_data() Ian Salmons 2017-01-08 20:42:40 +00:00
  • e7c5ef181f Allow uploading of GIFs for users. SunDwarf 2017-01-08 15:59:27 +00:00
  • d13df30e2a Add ability to edit guild invite splashes. Rapptz 2017-01-08 07:24:56 -05:00
  • d22d8cc430 [commands] Add AutoShardedBot counterpart to AutoShardedClient. Rapptz 2017-01-08 04:50:59 -05:00
  • aae8b783e9 VoiceChannel.voice_members is now computed when needed. Rapptz 2017-01-08 04:31:33 -05:00
  • 4bd8382e06 Fix bug that caused Guild instances to be in VoiceChannel.voice_members Rapptz 2017-01-08 03:46:43 -05:00
  • 93d267cd2b Remove extraneous prints. Rapptz 2017-01-08 02:08:38 -05:00
  • 92c1637921 Allow overriding the shard_ids used for initial shard launch. Rapptz 2017-01-08 02:05:21 -05:00
  • 4bc6625739 Add AutoShardedClient.change_presence. Rapptz 2017-01-08 01:51:10 -05:00
  • b5bed9ef33 Change the way shards are launched in AutoShardedClient. Rapptz 2017-01-08 01:31:46 -05:00
  • d93067ca0f Add Guild.chunked property. Rapptz 2017-01-08 01:28:15 -05:00
  • 20041ea756 Implement AutoShardedClient for transparent sharding. Rapptz 2017-01-07 21:55:47 -05:00
  • d54d7f7ac0 Fix variable shadowing in READY parsing. Rapptz 2017-01-05 06:13:13 -05:00
  • 808a05ff2d Move global user cache to a WeakValueDictionary. Rapptz 2017-01-04 05:16:59 -05:00
  • f8a5d890fe Update examples to match the new rewrite API. Rapptz 2017-01-03 20:57:41 -05:00
  • 94655c77c0 Fix Messageable.typing context manager. Rapptz 2017-01-03 20:24:42 -05:00
  • d086b5421d Fix NameError when dealing with permission resolution. Rapptz 2017-01-03 20:17:41 -05:00
  • c863d93f69 Fix bug that made member roles go missing. Rapptz 2017-01-03 20:15:56 -05:00
  • 3f06cf9e81 [commands] Don't use removed is_private attribute in core decorators. Rapptz 2017-01-03 19:39:33 -05:00
  • 496f5d0472 [commands] Fix help command from not working with recent changes. Rapptz 2017-01-03 09:20:09 -05:00
  • 7690455b21 Make User and Member messageable. Rapptz 2017-01-03 09:16:15 -05:00
  • 7431a127cf Change Messageable channel getter to be a coroutine. Rapptz 2017-01-03 09:05:08 -05:00
  • 98b981848d Move message creation to a factory method inside ConnectionState. Rapptz 2017-01-03 08:41:44 -05:00
  • 5e6bfecb07 Move away from StateContext and use ConnectionState directly. Rapptz 2017-01-03 08:25:48 -05:00
  • d5b616fa11 Rename MessageChannel abc to Messageable. Rapptz 2016-12-31 06:58:05 -05:00
  • 633eacc982 Add permission overwrites to GuildChannel. Rapptz 2016-12-31 00:27:12 -05:00
  • 6709979831 Move GuildChannel over to abc module. Rapptz 2016-12-30 22:56:47 -05:00
  • a557858742 Remove chunks of the voice code to redesign later. Rapptz 2016-12-30 22:01:09 -05:00
  • 7eb73cdc71 Add Role.members to get every member with a role. Rapptz 2016-12-30 19:52:26 -05:00
  • dceba9d962 Add useful repr to all data classes. Rapptz 2016-12-30 04:34:42 -05:00
  • ec6c7f8b34 Fix handling of author update and missing type attribute in Message. Rapptz 2016-12-29 00:58:36 -05:00
  • 4e175d36d3 Add delete_after parameter to MessageChannel.send Rapptz 2016-12-25 17:50:40 -05:00
  • 20ddc9f14f [commands] Remove send_ utility functions. Rapptz 2016-12-25 17:33:53 -05:00
  • 406984af2e [commands] First pass in making commands ext work again. Rapptz 2016-12-25 17:30:17 -05:00
  • 9c000c5a72 Fix documentation to work. Rapptz 2016-12-24 05:40:27 -05:00
  • 79a49f9145 Absolute import some circular dependencies to appease Python 3.4. Rapptz 2016-12-24 05:11:06 -05:00
  • a1c81419b7 Rename MessageChannel.send_message to send and unify interface. Rapptz 2016-12-23 23:38:30 -05:00
  • 30394d03f2 Remove no longer used functions in Client. Rapptz 2016-12-23 23:00:09 -05:00
  • 802f6c91d4 Add Message.clear_reactions Rapptz 2016-11-21 02:15:03 -05:00
  • 2c50c18ca3 Change dict value views into lists. Rapptz 2016-11-16 21:34:27 -05:00
  • c205eb3528 Re-add support for embeds. Rapptz 2016-11-16 20:16:36 -05:00
  • 42891c3084 Make Message.embeds to be based on discord.Embed Rapptz 2016-11-13 21:40:29 -05:00