aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [commands] Add CooldownMapping.from_cooldown factory classmethod.Rapptz2017-08-271-0/+4
|
* [commands] Export cooldown classes as well.Rapptz2017-08-271-1/+1
|
* Fix on_guild_join param docSteve C2017-08-271-1/+1
|
* Add pinning to manage_messages docSteve C2017-08-271-1/+1
|
* Add upload from URL to the FAQ.Rapptz2017-08-251-0/+15
|
* Rename webhook parameters to payload to avoid shadowing.Rapptz2017-08-241-16/+16
| | | | The old names clashed with the `json` module.
* Webhook URLs can have dashes and underscores.Rapptz2017-08-221-1/+1
|
* Fix docstringEthan2017-08-221-1/+1
|
* Fix a couple docstringsSteve C2017-08-221-3/+3
|
* Fix multi-part sending with aiohttp in webhooks.Rapptz2017-08-221-0/+1
|
* Don't make session a keyword only argument.Rapptz2017-08-211-1/+1
|
* Add atomic keyword argument for member role editing operations.Rapptz2017-08-211-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.Rapptz2017-08-211-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.Rapptz2017-08-211-4/+4
|
* Fix some docstrings.Rapptz2017-08-211-5/+3
|
* Fix Webhook.execute alias.Rapptz2017-08-211-2/+3
|
* Add webhook support.Rapptz2017-08-2110-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.Rapptz2017-08-191-5/+5
|
* Consume remaining keyword arguments in Game constructor.Rapptz2017-08-191-1/+1
|
* Update system_content strings for MessageType.new_member.Rapptz2017-08-171-22/+40
|
* Remove incorrect extraneous usage of reason keyword argument.Rapptz2017-08-171-1/+1
| | | | Fixes #726
* Add support for Guild.system_channelRapptz2017-08-174-2/+36
|
* Add default type for Game.Rapptz2017-08-161-7/+7
| | | | Good meme.
* use cdn url for custom emojisAshton Tito2017-08-161-1/+1
|
* Minor fixes in migrating docGorialis2017-08-161-7/+7
|
* Add Client.latency, AutoShardedClient.latency and latencies.Rapptz2017-08-153-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.Rapptz2017-08-153-25/+13
| | | | | | | | | | | Apparently this is unsupported. Affected functions include: * abc.Messageable.send * Message.delete * TextChannel.delete_messages * TextChannel.purge
* Add delete_after to 'edit'.MysterialPy2017-08-151-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.Rapptz2017-08-151-1/+1
|
* [commands] Raise when an invalid prefix is given.Rapptz2017-08-151-5/+18
| | | | Fixes #712
* Fix extraneous parentheses in Client.emojis render in migrating docs.Rapptz2017-08-121-1/+1
|
* Fix the proxy support for aiohttp>=1.4.PapyrusThePlant2017-08-112-4/+17
|
* [commands] Ensure no mentions escape clean_contentRapptz2017-08-101-10/+2
| | | | | Some clever nicknames or role names would lead themselves to resolving to pings.
* [commands] Fix clean_content converter not properly escaping mentions.Rapptz2017-08-101-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_rolesRapptz2017-08-091-5/+8
|
* Make discord.Object hashable.Rapptz2017-08-091-1/+16
|
* Disallow setting non-permission attributesMitchell Ferree2017-08-081-0/+2
|
* Add heartbeat_timeout to the Client options.Rapptz2017-08-084-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.Rapptz2017-08-081-0/+9
|
* Fixed ExponentialBackoff not working when integralMatt Gardner2017-08-081-1/+1
|
* Remove GuildChannel.is_defaultSinisterRectus2017-08-082-13/+2
|
* Add documentation examples for AsyncIterator and change_presence.Gorialis2017-08-083-2/+33
|
* Add operation documentation for VerificationLevel, ContentFilterGorialis2017-08-021-0/+42
|
* Change VerificationLevel, ContentFilter to be IntEnumsGorialis2017-08-021-3/+3
|
* Remove Guild.create_invite too since it relies on a default channel.Rapptz2017-07-312-39/+1
|
* Remove Guild.default_channelRapptz2017-07-312-7/+12
| | | | The concept no longer exists.
* Fix AsyncIterator documentation to properly show coroutines.Rapptz2017-07-291-4/+6
|
* Rename avatar_is_animated to is_avatar_animated and make it a method.Rapptz2017-07-271-5/+4
|
* Continue connection loop with back-off if connecting fails >5 times.Rapptz2017-07-251-1/+6
|
* allow trailing null bytes in uploaded jpegskhazhyk2017-07-251-1/+1
|