Commit Graph

  • e557f69c83 Make sure that websockets.connect is a coroutine. Rapptz 2017-05-09 20:35:18 -04:00
  • 8081a654e8 Remove Guild.change_vanity_invite in favour of Guild.edit Rapptz 2017-05-09 17:49:05 -04:00
  • 1db31d8339 Add back Client.create_guild. Rapptz 2017-05-09 14:11:13 -04:00
  • a0fc1402d7 Rename GuildRegion to VoiceRegion. Rapptz 2017-05-09 13:42:35 -04:00
  • 152fc89508 Properly check for audit log entry termination. Rapptz 2017-05-07 21:04:43 -04:00
  • 140be3e4c8 Make AuditLogDiff.roles an empty list instead of None. Rapptz 2017-05-07 12:05:10 -04:00
  • eb58ddffd8 Skip None action types when iterating. Rapptz 2017-05-07 11:53:17 -04:00
  • dff6bcc745 Add support for audit log reasons. Rapptz 2017-05-07 03:08:06 -04:00
  • 2b44876955 Fix NameError when making things Object in audit logs. Rapptz 2017-05-07 01:06:15 -04:00
  • 7916878eb5 Audit log role add and removes are lists, not single item. Rapptz 2017-05-06 16:24:14 -04:00
  • d7153b1b5c Replace hasattr with try except in chunker. Rapptz 2017-05-05 21:45:51 -04:00
  • 1626ade67d Split on_channel_pins_update as well. Rapptz 2017-05-05 21:36:35 -04:00
  • 322c70fda9 Rework some events to make more sense. Rapptz 2017-05-05 20:47:25 -04:00
  • c20ba51e28 [commands] Export is_nsfw check. Rapptz 2017-05-05 20:21:28 -04:00
  • d24c2a09b6 Change some format usage to use %-formatting. Rapptz 2017-05-04 06:03:02 -04:00
  • 86bfcdd129 Add support for message delete audit log action type. Rapptz 2017-05-04 04:26:11 -04:00
  • 663315f7ac Explicitly close UDP sockets when re-creating them. Rapptz 2017-05-02 20:25:54 -04:00
  • fac43ad595 Fix NameError in HTTPClient.kick Rapptz 2017-05-02 20:14:40 -04:00
  • c8937ed2aa [commands] Add is_nsfw check. Rapptz 2017-05-01 22:36:22 -04:00
  • c9565e57d3 Make sure that the chunker task only runs once. Rapptz 2017-05-01 22:34:24 -04:00
  • b24b027d49 Add Permissions.view_audit_logs Rapptz 2017-03-21 19:37:04 -04:00
  • ba2dad2093 Add support for setting and retrieving guild vanity invites. Rapptz 2017-04-30 07:16:11 -04:00
  • 86b9099f3a Changed audit_log to audit_logs in documentation Twentysix 2017-04-30 12:56:58 +02:00
  • c54a6a927d Implement audit logs. Rapptz 2017-04-30 02:58:27 -04:00
  • 3f45db5c3b Better TextChannel.is_nsfw() check. Rapptz 2017-04-30 02:53:33 -04:00
  • 10453d6718 Add Client.get_emoji to get an Emoji from an ID. Rapptz 2017-04-30 02:53:05 -04:00
  • d3a86a5fb6 Add TextChannel.is_nsfw method to check for NSFW channels. Rapptz 2017-04-26 21:02:30 -04:00
  • 92d55077aa Don't set VoiceClient.channel to None when VOICE_STATE_UPDATE says so. Rapptz 2017-04-26 04:52:49 -04:00
  • 37681dd0ea [commands] Fix lack of space in when_mentioned Rapptz 2017-04-24 00:23:23 -04:00
  • 6188397fc9 [commands] Add Context.voice_client shortcut. Rapptz 2017-04-24 00:16:48 -04:00
  • c005ef5d44 [commands] Make when_mentioned always have both mention formats. Rapptz 2017-04-24 00:13:27 -04:00
  • 4835ca3404 Revert "Add timeouts for websocket initial connections." Rapptz 2017-04-23 17:08:17 -04:00
  • a76909e182 Fix RESUME handling and make sure to wait 5 seconds before attempting. Rapptz 2017-04-22 21:36:29 -04:00
  • e445fa9335 Wait 5 seconds before attempting to RESUME during INVALIDATE_SESSION. Rapptz 2017-04-22 21:34:56 -04:00
  • 1519a6fefa Fix some linting errors. Rapptz 2017-04-22 04:50:31 -04:00
  • c30ab8a3e5 Fix NameError in Role.edit when moving roles. Rapptz 2017-04-22 04:47:43 -04:00
  • 0ce781b37c Fix NameError in GuildChannel.changed_roles Rapptz 2017-04-22 04:44:21 -04:00
  • 3cfebc4605 Timeout when doing initial connection. Rapptz 2017-04-22 02:14:06 -04:00
  • 6dca5035df Add timeouts for websocket initial connections. khazhyk 2017-03-05 20:46:55 -08:00
  • 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