| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Don't clear state when READY is reached for auto sharded clients. | Rapptz | 2017-04-16 | 1 | -1/+0 |
| | | |||||
| * | Support for API v7 error handling. | Rapptz | 2017-04-15 | 2 | -7/+37 |
| | | |||||
| * | Start typing immediately when using async typing context manager. | Rapptz | 2017-04-12 | 1 | -6/+17 |
| | | |||||
| * | Export missing enums. | Rapptz | 2017-04-12 | 2 | -1/+4 |
| | | |||||
| * | Add Guild.explicit_content_filter. | Rapptz | 2017-04-12 | 3 | -2/+30 |
| | | |||||
| * | Use create_future wrapper for initially created Future. | Rapptz | 2017-04-12 | 1 | -1/+1 |
| | | |||||
| * | Improve logging in more places. | Rapptz | 2017-04-12 | 3 | -14/+21 |
| | | | | | | | This shows the Shard ID in more places, along with a gateway trace and session ID. Also helps show the RESUME/IDENTIFY/RESUMED/READY flow a bit more instead of it looking like the connection has zombied out. | ||||
| * | [commands] Bot.get_all_emojis no longer exists. | Rapptz | 2017-04-12 | 1 | -2/+2 |
| | | |||||
| * | [commands] Export missing built-in converters. | Rapptz | 2017-04-12 | 1 | -1/+1 |
| | | |||||
| * | Use global user cache to fetch reaction event data. | Rapptz | 2017-04-09 | 1 | -9/+6 |
| | | | | | | Also make sure it isn't dispatched unless the data meets the integrity checks (i.e. not None). | ||||
| * | Fix view_audit_log incorrect pluralisation. | Rapptz | 2017-04-08 | 1 | -1/+1 |
| | | |||||
| * | Fix File not using the filename if given | FrostLuma | 2017-04-08 | 1 | -0/+2 |
| | | |||||
| * | Add support for multiple file attachments. | Rapptz | 2017-04-08 | 5 | -31/+122 |
| | | | | | | | | This is a breaking change. No longer does Messageable.send have a filename keyword argument, instead this is all handled through the discord.File model. To upload many files you must specify a list of discord.File objects. | ||||
| * | Proper recursion when launching shards. | Rapptz | 2017-04-07 | 1 | -1/+1 |
| | | |||||
| * | Fix KeyError in certain logging cases. | Rapptz | 2017-04-07 | 1 | -2/+2 |
| | | |||||
| * | Use an asyncio.Event instead of an asyncio.Lock for global rate limits. | Rapptz | 2017-04-01 | 1 | -6/+8 |
| | | | | | | | | There were some dead-locking issues that I suspect were due to the way the global rate limit was handled. This changes it into a simple Event that allows multiple coroutines to pass through instead of one by one. | ||||
| * | Proper termination of HistoryIterator.flatten. | Rapptz | 2017-03-30 | 1 | -1/+1 |
| | | |||||
| * | Keep track of Emoji instances myself. | Rapptz | 2017-03-29 | 2 | -3/+9 |
| | | | | | | | WeakValueDictionary cleans up too late and brings too little benefit. Also clean up the state when the first READY is encountered for AutoShardedClient and when any READY is encountered in regular Client. | ||||
| * | [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 |
| | | |||||