| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Don't make session a keyword only argument. | Rapptz | 2017-08-21 | 1 | -1/+1 |
| | | |||||
| * | Add atomic keyword argument for member role editing operations. | Rapptz | 2017-08-21 | 1 | -11/+33 |
| | | | | | | | | | | | | | | | | This affects: * Member.add_roles * Member.remove_roles This is the main attempt of fixing long standing bugs like #56. Since cache consistency is too hard to ask for due to eventual consistency and this generally being one of the only main roadblocks that the cache ruins, it's best to just implement it in terms of the atomic endpoint instead. Fixes #56 | ||||
| * | Lazily fetch Emoji.roles and Emoji.guild to prevent memory leaks. | Rapptz | 2017-08-21 | 1 | -11/+21 |
| | | | | | | | | The global emoji cache still managed to somehow cause memory leaks. By storing IDs directly and lazily evaluating them when needed this essentially removes all strong references to Guild objects which would cause an explosion in memory usage. | ||||
| * | Game objects are really dumb. | Rapptz | 2017-08-21 | 1 | -4/+4 |
| | | |||||
| * | Fix some docstrings. | Rapptz | 2017-08-21 | 1 | -5/+3 |
| | | |||||
| * | Fix Webhook.execute alias. | Rapptz | 2017-08-21 | 1 | -2/+3 |
| | | |||||
| * | Add webhook support. | Rapptz | 2017-08-21 | 10 | -7/+813 |
| | | | | | | | | Allows for usage of either `requests` and `aiohttp` when used in "Standalone" mode. Fixes #704 | ||||
| * | Use time.monotonic instead of time.time for heartbeat code. | Rapptz | 2017-08-19 | 1 | -5/+5 |
| | | |||||
| * | Consume remaining keyword arguments in Game constructor. | Rapptz | 2017-08-19 | 1 | -1/+1 |
| | | |||||
| * | Update system_content strings for MessageType.new_member. | Rapptz | 2017-08-17 | 1 | -22/+40 |
| | | |||||
| * | Remove incorrect extraneous usage of reason keyword argument. | Rapptz | 2017-08-17 | 1 | -1/+1 |
| | | | | | Fixes #726 | ||||
| * | Add support for Guild.system_channel | Rapptz | 2017-08-17 | 4 | -2/+36 |
| | | |||||
| * | Add default type for Game. | Rapptz | 2017-08-16 | 1 | -7/+7 |
| | | | | | Good meme. | ||||
| * | use cdn url for custom emojis | Ashton Tito | 2017-08-16 | 1 | -1/+1 |
| | | |||||
| * | Minor fixes in migrating doc | Gorialis | 2017-08-16 | 1 | -7/+7 |
| | | |||||
| * | Add Client.latency, AutoShardedClient.latency and latencies. | Rapptz | 2017-08-15 | 3 | -0/+29 |
| | | | | | | | This should allow an easier way to query the Discord protocol gateway latency, defined by the difference HEARTBEAT_ACK between and the last sent HEARTBEAT. | ||||
| * | Remove reason keyword argument from message deletion. | Rapptz | 2017-08-15 | 3 | -25/+13 |
| | | | | | | | | | | | | Apparently this is unsupported. Affected functions include: * abc.Messageable.send * Message.delete * TextChannel.delete_messages * TextChannel.purge | ||||
| * | Add delete_after to 'edit'. | MysterialPy | 2017-08-15 | 1 | -1/+21 |
| | | | | Allow for edited messages to be deleted after [float] seconds with optional parameter delete_after. | ||||
| * | Fix cases where user_id can be None in audit logs. | Rapptz | 2017-08-15 | 1 | -1/+1 |
| | | |||||
| * | [commands] Raise when an invalid prefix is given. | Rapptz | 2017-08-15 | 1 | -5/+18 |
| | | | | | Fixes #712 | ||||
| * | Fix extraneous parentheses in Client.emojis render in migrating docs. | Rapptz | 2017-08-12 | 1 | -1/+1 |
| | | |||||
| * | Fix the proxy support for aiohttp>=1.4. | PapyrusThePlant | 2017-08-11 | 2 | -4/+17 |
| | | |||||
| * | [commands] Ensure no mentions escape clean_content | Rapptz | 2017-08-10 | 1 | -10/+2 |
| | | | | | | Some clever nicknames or role names would lead themselves to resolving to pings. | ||||
| * | [commands] Fix clean_content converter not properly escaping mentions. | Rapptz | 2017-08-10 | 1 | -24/+29 |
| | | | | | | | | | In some cases, the Discord provided role_mentions and mentions array would be empty, such as wrapping a mention with a backtick or other frivolous characters. Since we want to completely nullify mentions, we should not rely on the Discord provided arrays and instead use and resolve the IDs from the content itself. | ||||
| * | Support for discord.Object in Member.remove_roles and Member.add_roles | Rapptz | 2017-08-09 | 1 | -5/+8 |
| | | |||||
| * | Make discord.Object hashable. | Rapptz | 2017-08-09 | 1 | -1/+16 |
| | | |||||
| * | Disallow setting non-permission attributes | Mitchell Ferree | 2017-08-08 | 1 | -0/+2 |
| | | |||||
| * | Add heartbeat_timeout to the Client options. | Rapptz | 2017-08-08 | 4 | -2/+11 |
| | | | | | | | | This setting configures how long before a timeout event is emitted internally and disconnects the websocket. Since some users were experiencing issues with the gateway not responding, this should help mitigate the issue for those with poor PCs. | ||||
| * | Add DiscordWebSocket.latency to measure discord heartbeat latency. | Rapptz | 2017-08-08 | 1 | -0/+9 |
| | | |||||
| * | Fixed ExponentialBackoff not working when integral | Matt Gardner | 2017-08-08 | 1 | -1/+1 |
| | | |||||
| * | Remove GuildChannel.is_default | SinisterRectus | 2017-08-08 | 2 | -13/+2 |
| | | |||||
| * | Add documentation examples for AsyncIterator and change_presence. | Gorialis | 2017-08-08 | 3 | -2/+33 |
| | | |||||
| * | Add operation documentation for VerificationLevel, ContentFilter | Gorialis | 2017-08-02 | 1 | -0/+42 |
| | | |||||
| * | Change VerificationLevel, ContentFilter to be IntEnums | Gorialis | 2017-08-02 | 1 | -3/+3 |
| | | |||||
| * | Remove Guild.create_invite too since it relies on a default channel. | Rapptz | 2017-07-31 | 2 | -39/+1 |
| | | |||||
| * | Remove Guild.default_channel | Rapptz | 2017-07-31 | 2 | -7/+12 |
| | | | | | The concept no longer exists. | ||||
| * | Fix AsyncIterator documentation to properly show coroutines. | Rapptz | 2017-07-29 | 1 | -4/+6 |
| | | |||||
| * | Rename avatar_is_animated to is_avatar_animated and make it a method. | Rapptz | 2017-07-27 | 1 | -5/+4 |
| | | |||||
| * | Continue connection loop with back-off if connecting fails >5 times. | Rapptz | 2017-07-25 | 1 | -1/+6 |
| | | |||||
| * | allow trailing null bytes in uploaded jpegs | khazhyk | 2017-07-25 | 1 | -1/+1 |
| | | |||||
| * | add Guild.icon_url_as | khazhyk | 2017-07-25 | 1 | -1/+35 |
| | | | | | Guild icons can also be up to 1024px, jpg, png, or webp | ||||
| * | avatar_url_as improvements | khazhyk | 2017-07-25 | 2 | -8/+38 |
| | | | | | | | | | | | | | | | | | | | | static_format will only apply to static (not animated) avatars. Makes it easier to grab gif-or-'format' of an avatar. Defaults to 'webp' This is for a similar usecase to avatar_url_as(format=None), except one can specify the non-animated format, instead of always using webp. add User.avatar_is_animated property. add validation for avatar_url_as, since invalid arguments result in a url which will return 415, which can be confusing for a user. (They just see a blank page) Discord accepts size=16-2048, but images cap at 1024px, so accept 16-1024 Discord accepts "jpg", "jpeg", "png", "gif", and "webp", *unless* the avatar is not animated, in which case "gif" is not supported. :\ | ||||
| * | accept_invite() doesn't exist on rewrite | Juan | 2017-07-25 | 1 | -3/+0 |
| | | |||||
| * | Add bulk argument to TextChannel.purge | khazhyk | 2017-07-24 | 1 | -2/+7 |
| | | | | | | bulk=False will never use bulk message delete. Useful e.g. for using the purge interface for deleting the bot's own messages. | ||||
| * | Raise in HTTPClient.request when out of retries | khazhyk | 2017-07-22 | 1 | -1/+3 |
| | | | | | | | | | | | | Raise after loop completes without returning with most recent values for r, data. This is a bit less fragile than checking tries < 4, since changing the retry count requires changing values in multiple places. (There seemed to already be handling in the 502 retry, tries <= 5, which always evaluated to true, e.g.) Previously, once out of retries, we would always return None without raising. This won't NameError so long as we make at least one HTTP request. | ||||
| * | Retry on 500 in HTTPClient.request | khazhyk | 2017-07-22 | 1 | -2/+2 |
| | | | | | | Discord official client retries on 500, so worst case scenario, we're not any worse than the official client which seriously outnumbers us. | ||||
| * | Fix waiting for resume when calling stop() on AudioPlayer | Daniel | 2017-07-21 | 1 | -0/+2 |
| | | |||||
| * | Call cleanup on AudioSource.__del__. | Rapptz | 2017-07-19 | 1 | -0/+7 |
| | | |||||
| * | [commands] Fix Command.root_parent not properly working. | Rapptz | 2017-07-19 | 1 | -2/+4 |
| | | |||||
| * | Add some logging for when ffmpeg processes get terminated. | Rapptz | 2017-07-18 | 1 | -1/+7 |
| | | |||||