| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [commands] Fix User converter not working with IDs. | Rapptz | 2017-03-27 | 1 | -1/+1 |
| | | |||||
| * | [commands] Add is_owner check and Bot.is_owner. | Rapptz | 2017-03-27 | 3 | -2/+49 |
| | | |||||
| * | [commands] Remove Command.no_pm for commands.guild_only check. | Rapptz | 2017-03-26 | 2 | -15/+22 |
| | | | | | | | | This is a breaking change. The original purpose of no_pm has been mainly a legacy aspect. They came from a time before checks were a generalised concept and were never removed. A check is the proper way to do its behaviour. | ||||
| * | Always overwrite Emoji references in the state. | Rapptz | 2017-03-26 | 1 | -5/+2 |
| | | | | | | | | | | There is potential that when recreating the Emoji list in the GUILD_EMOJIS_UPDATE event would just fetch from cache and the element in cache having an out of date Guild reference. This Guild reference will be kept alive for longer than it should be. By always overwriting the Emoji reference, this problem goes away. | ||||
| * | Remove unnecessary shielding. | Rapptz | 2017-03-25 | 1 | -1/+1 |
| | | | | | | This was causing the exception to be suppressed and print 'NoneType' instead. | ||||
| * | Make Role.members use a list comprehension. | Rapptz | 2017-03-25 | 1 | -5/+1 |
| | | |||||
| * | Allow Emoji to be used in a weakref. | Rapptz | 2017-03-24 | 1 | -1/+1 |
| | | |||||
| * | Fix memory leak by holding on to Emoji references weakly. | Rapptz | 2017-03-24 | 1 | -1/+1 |
| | | | | | | | | The library had a memory leak in the case using the global emoji cache. When the bot would leave the guild, the Emoji would maintain a strong reference to the Guild keeping them alive along with the entire state associated with it. | ||||
| * | Revert "Reference the ConnectionState by weakref." | Rapptz | 2017-03-24 | 1 | -19/+19 |
| | | | | | This reverts commit 730a0e2d5375a5c49bcc2a146f0cde1e7dc85f24. | ||||
| * | Set closed state before actually finishing cleaning up. | Rapptz | 2017-03-24 | 1 | -1/+2 |
| | | |||||
| * | More robust cleanup for Client.run. | Rapptz | 2017-03-24 | 2 | -13/+28 |
| | | | | | | | | | | This should prevent asyncio.CancelledError from being propagated more and suppressed "Task was destroyed but was pending!" warnings when doing graceful closes outside of using a KeyboardInterrupt. To make clean up a bit more robust, also add signal handlers for POSIX systems. | ||||
| * | Sort Guild.text_channels and Guild.voice_channels in UI order. | Rapptz | 2017-03-23 | 1 | -4/+14 |
| | | |||||
| * | Upgrade aiohttp requirement to 2.0. | Rapptz | 2017-03-23 | 1 | -1/+1 |
| | | | | | | Apparently this doesn't cause any issues with the existing code as-is. I suspect the real issue will be with people's third party code. | ||||
| * | Reference the ConnectionState by weakref instead of a strong reference. | Rapptz | 2017-03-22 | 1 | -19/+19 |
| | | | | | | | Hopefully this means when the bot has some lingering object for whatever reason, the memory doesn't double due to it having a strong reference to an outdated connection state. | ||||
| * | Add Permissions.view_audit_log | Rapptz | 2017-03-21 | 1 | -3/+12 |
| | | |||||
| * | [commands] Fix minor spacing issue in Command.signature | Rapptz | 2017-03-21 | 1 | -1/+1 |
| | | |||||
| * | Aggregate shard closing futures instead of doing them sequentially. | Rapptz | 2017-03-21 | 1 | -3/+2 |
| | | |||||
| * | Check if we're closed before attempting to do a reconnect. | Rapptz | 2017-03-21 | 2 | -1/+5 |
| | | |||||
| * | Eventual consistency fixes. | Rapptz | 2017-03-21 | 1 | -3/+41 |
| | | |||||
| * | [commands] Add Command.signature | Rapptz | 2017-03-21 | 2 | -31/+40 |
| | | | | | This replaces HelpFormatter.get_command_signature for the most part. | ||||
| * | [commands] Add BotBase.get_cog_commands to get all a cog's commands. | Rapptz | 2017-03-21 | 1 | -0/+25 |
| | | | | | | Self-explanatory. This should help create help commands for a cog more easily. | ||||
| * | [commands] Change GroupMixin.commands to all_commands | Rapptz | 2017-03-21 | 3 | -20/+25 |
| | | | | | | This is a breaking change as GroupMixin.commands now returns a set of unique Command objects. | ||||
| * | Reconnect on any OSError. | Rapptz | 2017-03-20 | 1 | -3/+1 |
| | | |||||
| * | Removing acking on channels. | Rapptz | 2017-03-18 | 2 | -28/+0 |
| | | |||||
| * | Fix Client inability to shard by actually propagating the shard_id | Rapptz | 2017-03-16 | 1 | -1/+1 |
| | | |||||
| * | Handle case when guild owner somehow doesn't exist in permissions_for | Rapptz | 2017-03-15 | 1 | -1/+2 |
| | | |||||
| * | Speed up message update handling. | Rapptz | 2017-03-14 | 1 | -8/+11 |
| | | | | | | | Apparently, checking if something is not None and then calling it is faster than having an identity function that will just return the original value untransformed, such as a lambda or doing a str(str) call | ||||
| * | Remove Message.edited_timestamp in favour of Message.edited_at | Rapptz | 2017-03-14 | 1 | -5/+8 |
| | | |||||
| * | Handle aware datetimes in embeds. | Rapptz | 2017-03-13 | 1 | -2/+9 |
| | | |||||
| * | Remove call handling for now. | Rapptz | 2017-03-13 | 1 | -19/+0 |
| | | |||||
| * | Fix premium key being missing in profile endpoint. | Rapptz | 2017-03-13 | 2 | -4/+6 |
| | | |||||
| * | Retry on more exceptions in auto reconnect code. | Rapptz | 2017-03-07 | 1 | -1/+4 |
| | | |||||
| * | Fix issue with members not copying correctly. | Rapptz | 2017-03-05 | 2 | -1/+7 |
| | | |||||
| * | Fix NameError in Role.edit | Rapptz | 2017-03-05 | 1 | -1/+1 |
| | | |||||
| * | Add underscore to HTTPClient.session to imply privateness. | Rapptz | 2017-03-04 | 1 | -6/+3 |
| | | |||||
| * | Add commit number to pip version for easy identification. | Rapptz | 2017-03-04 | 2 | -1/+13 |
| | | |||||
| * | Remove Client.accept_invite | Rapptz | 2017-03-04 | 2 | -30/+0 |
| | | |||||
| * | [commands] Add Context.me property. | Rapptz | 2017-03-01 | 1 | -0/+5 |
| | | |||||
| * | Reconnect even if we close with 1000 since Discord can send it. | Rapptz | 2017-03-01 | 1 | -7/+10 |
| | | | | | | Rely on is_closed() instead since this is the true metric of a clean closure. | ||||
| * | Remove remaining voice_member tracking. | Rapptz | 2017-02-28 | 1 | -11/+0 |
| | | |||||
| * | Add TextChannel.members to get members that can see a channel. | Rapptz | 2017-02-28 | 1 | -0/+5 |
| | | |||||
| * | Rename VoiceChannel.voice_members to VoiceChannel.members | Rapptz | 2017-02-28 | 1 | -1/+1 |
| | | |||||
| * | Remove extra space. | Rapptz | 2017-02-28 | 1 | -1/+1 |
| | | |||||
| * | Add Messageable.ack | Rapptz | 2017-02-28 | 2 | -0/+28 |
| | | |||||
| * | Add User.is_blocked and User.is_friend shortcut methods. | Rapptz | 2017-02-27 | 1 | -0/+14 |
| | | |||||
| * | Add support for message acking. | Rapptz | 2017-02-27 | 3 | -2/+53 |
| | | |||||
| * | Remove nonce when sending messages. | Rapptz | 2017-02-27 | 1 | -4/+1 |
| | | |||||
| * | Move purge and delete_messages from Messageable. | Rapptz | 2017-02-26 | 2 | -144/+145 |
| | | | | | | | This is a breaking change. Move these two to TextChannel since the other things that implement Messageable cannot reliably do bulk delete actions in their respective channels. | ||||
| * | Check for PrivateChannel before GuildChannel in Client.get_channel | Rapptz | 2017-02-25 | 1 | -4/+4 |
| | | |||||
| * | Wrap asyncio.wait into a saner alternative that raises TimeoutError. | Rapptz | 2017-02-25 | 2 | -3/+10 |
| | | | | | Fixes #494 | ||||