Commit Graph

  • b6ac856868 [commands] Allow loading cogs from folders. Rapptz 2017-04-21 18:57:28 -04:00
  • b05d8790fc Allow using Reaction objects while adding or removing reactions. Rapptz 2017-04-21 17:31:13 -04:00
  • 83649d7f0a Support for new member message types. Rapptz 2017-04-21 03:49:05 -04:00
  • 34c60002bf Allow setting a default volume in PCMVolumeTransformer. Rapptz 2017-04-19 17:33:16 -04:00
  • f5cfc96aaf Add PCMVolumeTransformer to augment volume of a PCM stream. Rapptz 2017-04-19 17:20:10 -04:00
  • 07d5328873 Add VoiceClient.is_paused to query pause state. Rapptz 2017-04-19 16:06:45 -04:00
  • 55e63ed87f Add VoiceClient.source to get the AudioSource being played. Rapptz 2017-04-19 01:19:39 -04:00
  • efd6d11e9a Fix static cut-off when playing. Rapptz 2017-04-18 22:20:40 -04:00
  • aa32c384ea Clean cache when TimeoutError occurs. Rapptz 2017-04-18 20:13:34 -04:00
  • f9c2ac9d25 Better handling of VOICE_SERVER_UPDATE. Rapptz 2017-04-18 19:05:34 -04:00
  • b4bc4dfd12 Fix FFmpegPCMAudio not working with spaces in filename. Rapptz 2017-04-18 16:05:32 -04:00
  • 1fc08bc5a2 Remove unused imports. Rapptz 2017-04-18 04:22:35 -04:00
  • d534a0989e Properly cleanup of VoiceClients in cache. Rapptz 2017-04-18 04:09:33 -04:00
  • 65bd510df6 Add Guild.voice_client shortcut. Rapptz 2017-04-18 04:07:05 -04:00
  • 3b1b26ffb1 Re-implement voice sending. Rapptz 2017-04-18 02:29:43 -04:00
  • 38fd0928df Don't clear state when READY is reached for auto sharded clients. Rapptz 2017-04-16 02:32:23 -04:00
  • 3983eb3ba5 Support for API v7 error handling. Rapptz 2017-04-15 19:53:09 -04:00
  • 22150b20b6 Start typing immediately when using async typing context manager. Rapptz 2017-04-12 21:26:23 -04:00
  • 0e5bf09021 Export missing enums. Rapptz 2017-04-12 20:20:35 -04:00
  • 728fae9285 Add Guild.explicit_content_filter. Rapptz 2017-04-12 20:18:28 -04:00
  • cadf6960b7 Use create_future wrapper for initially created Future. Rapptz 2017-04-12 19:55:01 -04:00
  • ac90159c72 Improve logging in more places. Rapptz 2017-04-12 19:37:54 -04:00
  • 3e15f46dcf [commands] Bot.get_all_emojis no longer exists. Rapptz 2017-04-12 05:00:50 -04:00
  • 7da0884bfb [commands] Export missing built-in converters. Rapptz 2017-04-12 04:46:53 -04:00
  • 982308da3c Use global user cache to fetch reaction event data. Rapptz 2017-04-09 21:37:49 -04:00
  • 516c3ce530 Use an asyncio.Event instead of an asyncio.Lock for global rate limits. Rapptz 2017-04-01 23:26:44 -04:00
  • 580b4baef9 Fix view_audit_log incorrect pluralisation. Rapptz 2017-04-08 18:05:46 -04:00
  • e52532c06e Fix File not using the filename if given FrostLuma 2017-04-08 15:26:00 +02:00
  • bf2066278e Add support for multiple file attachments. Rapptz 2017-04-08 03:17:30 -04:00
  • e5c5695399 Proper recursion when launching shards. Rapptz 2017-04-07 23:23:48 -04:00
  • bcfb31779d Fix KeyError in certain logging cases. Rapptz 2017-04-07 23:22:44 -04:00
  • ff95258710 Use an asyncio.Event instead of an asyncio.Lock for global rate limits. Rapptz 2017-04-01 23:26:44 -04:00
  • af0ba17885 Proper termination of HistoryIterator.flatten. Rapptz 2017-03-30 03:27:44 -04:00
  • 7f58853e3a Keep track of Emoji instances myself. Rapptz 2017-03-29 04:35:06 -04:00
  • e1c32626ba [commands] Fix User converter not working with IDs. Rapptz 2017-03-27 20:08:26 -04:00
  • 5c5e7ae1d6 [commands] Add is_owner check and Bot.is_owner. Rapptz 2017-03-27 06:55:21 -04:00
  • afb64fb5e3 [commands] Remove Command.no_pm for commands.guild_only check. Rapptz 2017-03-26 21:29:56 -04:00
  • cac84e517b Always overwrite Emoji references in the state. Rapptz 2017-03-26 18:43:57 -04:00
  • e749b19131 Remove unnecessary shielding. Rapptz 2017-03-25 03:30:49 -04:00
  • fde35848f6 Make Role.members use a list comprehension. Rapptz 2017-03-25 00:47:51 -04:00
  • b88658f42f Allow Emoji to be used in a weakref. Rapptz 2017-03-24 21:50:19 -04:00
  • aef170d7e0 Fix memory leak by holding on to Emoji references weakly. Rapptz 2017-03-24 21:45:27 -04:00
  • 46951e27f7 Revert "Reference the ConnectionState by weakref." Rapptz 2017-03-24 21:44:33 -04:00
  • 4160cd7d12 Set closed state before actually finishing cleaning up. Rapptz 2017-03-24 20:40:23 -04:00
  • 9885a946e1 More robust cleanup for Client.run. Rapptz 2017-03-24 20:25:38 -04:00
  • 9fcbe5c678 Sort Guild.text_channels and Guild.voice_channels in UI order. Rapptz 2017-03-23 19:34:36 -04:00
  • 959c60543d Upgrade aiohttp requirement to 2.0. Rapptz 2017-03-23 17:47:24 -04:00
  • 730a0e2d53 Reference the ConnectionState by weakref instead of a strong reference. Rapptz 2017-03-22 00:02:50 -04:00
  • 8a34c412ed Add Permissions.view_audit_log Rapptz 2017-03-21 19:37:04 -04:00
  • 31a7093433 [commands] Fix minor spacing issue in Command.signature Rapptz 2017-03-21 15:36:52 -04:00
  • fd62c8a4f1 Aggregate shard closing futures instead of doing them sequentially. Rapptz 2017-03-21 03:52:24 -04:00
  • 5461bfb475 Check if we're closed before attempting to do a reconnect. Rapptz 2017-03-21 03:32:09 -04:00
  • a0cdb19c5f Eventual consistency fixes. Rapptz 2017-03-21 03:16:30 -04:00
  • 3087600c8d [commands] Add Command.signature Rapptz 2017-03-21 00:45:52 -04:00
  • 54fdafb792 [commands] Add BotBase.get_cog_commands to get all a cog's commands. Rapptz 2017-03-21 00:11:12 -04:00
  • fe588a4d52 [commands] Change GroupMixin.commands to all_commands Rapptz 2017-03-20 23:59:23 -04:00
  • c90e52450a Reconnect on any OSError. Rapptz 2017-03-20 15:45:44 -04:00
  • 4ffded622a Removing acking on channels. Rapptz 2017-03-18 11:52:18 -04:00
  • df0f1bfbdf Fix Client inability to shard by actually propagating the shard_id Rapptz 2017-03-16 05:51:11 -04:00
  • 0321558dec Handle case when guild owner somehow doesn't exist in permissions_for Rapptz 2017-03-15 23:13:28 -04:00
  • 75e4163169 Don't reconnect in sharding related codes. Rapptz 2017-03-15 16:54:39 -04:00
  • 51b0baeb9d Speed up message update handling. Rapptz 2017-03-14 19:12:30 -04:00
  • c089aa199b Remove Message.edited_timestamp in favour of Message.edited_at Rapptz 2017-03-14 19:07:08 -04:00
  • 1239e88d05 Handle aware datetimes in embeds. Rapptz 2017-03-13 17:47:46 -04:00
  • 9c6d9f1a84 Remove call handling for now. Rapptz 2017-03-13 17:07:33 -04:00
  • 058f1f13eb Fix premium key being missing in profile endpoint. Rapptz 2017-03-13 00:25:18 -04:00
  • 2f159098b1 Better timeout handling in join_voice_channel cookkkie 2017-03-13 02:25:10 +01:00
  • 38ea40f403 Add rollback strategy to Client.join_voice_channel cookkkie 2017-03-13 01:24:27 +01:00
  • d87d4e716f Retry on more exceptions in auto reconnect code. Rapptz 2017-03-07 01:12:28 -05:00
  • ead18e3948 Fix issue with members not copying correctly. Rapptz 2017-03-05 07:48:15 -05:00
  • 96a43fa9e3 Fix NameError in Role.edit Rapptz 2017-03-05 06:48:18 -05:00
  • 76e76f2905 Add underscore to HTTPClient.session to imply privateness. Rapptz 2017-03-04 23:27:57 -05:00
  • c4c17351c6 Add commit number to pip version for easy identification. Rapptz 2017-03-04 20:43:05 -05:00
  • aa41101237 Remove Client.accept_invite Rapptz 2017-03-04 20:42:21 -05:00
  • 98cfb53d3b [commands] Add Context.me property. Rapptz 2017-03-01 18:58:56 -05:00
  • 5ce88c8a3f Reconnect even if we close with 1000 since Discord can send it. Rapptz 2017-03-01 05:10:01 -05:00
  • e78a5c0643 Remove remaining voice_member tracking. Rapptz 2017-02-28 18:29:27 -05:00
  • 39d65305a3 Add TextChannel.members to get members that can see a channel. Rapptz 2017-02-28 17:42:07 -05:00
  • cf40e94af6 Rename VoiceChannel.voice_members to VoiceChannel.members Rapptz 2017-02-28 17:40:17 -05:00
  • aa59762c04 Remove extra space. Rapptz 2017-02-28 17:39:59 -05:00
  • 8daf411c72 Add Messageable.ack Rapptz 2017-02-28 00:47:37 -05:00
  • f7524c9919 Add User.is_blocked and User.is_friend shortcut methods. Rapptz 2017-02-27 23:06:35 -05:00
  • 9a1215e13b Add support for message acking. Rapptz 2017-02-27 23:03:46 -05:00
  • 440bd0da60 Version bump to v0.16.7 v0.16.7 Rapptz 2017-02-27 18:10:27 -05:00
  • 7257ed24d8 Remove nonce when sending messages. Rapptz 2017-02-27 17:56:22 -05:00
  • 751933f068 Remove nonce when sending messages. Rapptz 2017-02-27 17:56:22 -05:00
  • cbbc75cd8d Move purge and delete_messages from Messageable. Rapptz 2017-02-26 21:16:20 -05:00
  • f6fcb62c7b Check for PrivateChannel before GuildChannel in Client.get_channel Rapptz 2017-02-25 20:56:09 -05:00
  • 29f676c42e Wrap asyncio.wait into a saner alternative that raises TimeoutError. Rapptz 2017-02-25 00:03:43 -05:00
  • b2ffeac297 Make Guild.large a property instead of an attribute. Rapptz 2017-02-24 17:51:27 -05:00
  • 1b3234ab64 Add info logging for close codes we cannot handle. Rapptz 2017-02-24 17:23:46 -05:00
  • 9d4f3ebb43 Miscellaneous documentation fixes in Client.wait_for Rapptz 2017-02-23 22:19:07 -05:00
  • e16a1e583e Remove Client.email attribute. Rapptz 2017-02-23 22:13:45 -05:00
  • 0e8b260d45 Fall back to single message delete in Messageable.purge Rapptz 2017-02-23 00:23:40 -05:00
  • 2fe5da836c Add User.avatar_url_as to convert a user's avatar. Rapptz 2017-02-22 23:17:52 -05:00
  • 9cb89f019e [commands] Register cog listeners with the name of the attribute. Rapptz 2017-02-22 20:11:01 -05:00
  • 67912193ec Forward keyword arguments in Member.ban Rapptz 2017-02-21 08:38:33 -05:00
  • b8727fd463 Fix Client.emojis returning a list of IDs. Rapptz 2017-02-21 08:38:06 -05:00
  • 702d596af9 Check that the type in Colour and Permissions are int. Rapptz 2017-02-21 08:19:32 -05:00
  • b7488d7c6e Reconnect when a task times out and propagates. Rapptz 2017-02-19 17:44:27 -05:00