aboutsummaryrefslogtreecommitdiff
path: root/discord
Commit message (Collapse)AuthorAgeFilesLines
* [commands] Lazily fetch members in discord.Member convertersRapptz2020-10-171-1/+46
| | | | | This makes commands taking members mostly work transparently without much effort from the user.
* Ensure our own member is never evicted from the cache in any policy.Rapptz2020-10-171-4/+5
|
* Add internal method to check if the websocket is currently ratelimitedRapptz2020-10-171-0/+9
|
* Fix attribute errors when timing out during chunking start-upRapptz2020-10-171-2/+2
|
* Fix disconnect when trying to move to another voice channel.Rapptz2020-10-172-22/+60
| | | | | | | | | | Not overly proud of this implementation but this allows the library to differentiate between a 4014 that means "move to another channel" or "move nowhere". Sometimes the VOICE_STATE_UPDATE comes before the actual websocket disconnect so special care had to be taken in that case. Fix #5904
* Mark intent alias flags as actual aliases to skip them in __iter__Rapptz2020-10-171-3/+3
| | | | Fix #5945
* Evict keys when they're set to None in PermissionOverwriteRapptz2020-10-171-3/+6
| | | | Fixes #5929
* Properly insert at the end if position is not found when moving.Rapptz2020-10-171-1/+1
| | | | Fixes #5923
* Escape multi-line quotes properlyRapptz2020-10-171-2/+2
| | | | Fix #5897
* Fix Colour.dark_theme docstring.Josh2020-10-161-2/+2
|
* Use Hashable mixin for MessagePythonCoderAS2020-10-161-4/+2
|
* Add note pointing to discord.AllowedMentionsChristopherJHart2020-10-041-0/+6
|
* Version bump to v1.5.0v1.5.0Rapptz2020-09-281-2/+2
|
* Add warning if guilds intent is disabled.Rapptz2020-09-281-0/+3
|
* Guard GUILD_MEMBER_ADD/GUILD_MEMBER_REMOVE from errorsRapptz2020-09-281-2/+11
| | | | | If the guilds intent is disabled all guilds are unavailable. This means we don't receive a member_count attribute and cannot update it.
* Add Client.intents to query the current intentsRapptz2020-09-262-0/+14
| | | | Closes #5854
* Fixed incorrectly named 'Intent' class in doc.Nekokatt2020-09-261-1/+1
| | | `Intent.members` -> `Intents.members`.
* Make Intent class creation more intuitiveRapptz2020-09-242-10/+12
|
* Fix typo in ValueError messageapple502j2020-09-241-1/+1
|
* More intent related documentationRapptz2020-09-241-4/+4
|
* Add chunk_guilds_at_startup and deprecate fetch_offline_membersRapptz2020-09-243-16/+34
|
* Fix typos in Intents documentationSebastian Law2020-09-241-8/+8
|
* Add support for flag aliasapple502j2020-09-242-11/+25
|
* Use delete_message_days instead of delete-message-daysRapptz2020-09-231-1/+1
|
* Use /invites/ instead of /invite/Rapptz2020-09-231-2/+2
|
* Add documentation for gateway intentsRapptz2020-09-231-2/+107
|
* Mention potential Guild.member_count accuracy issuesRapptz2020-09-231-1/+8
|
* Fix presence intent docstringMuhammad Hamza2020-09-231-1/+1
|
* Disable voice cache in weird intent configurations.Rapptz2020-09-231-0/+3
|
* Fix up wording in MemberCacheFlags exceptionRapptz2020-09-231-1/+1
|
* Some documentation fixes for MemberCacheFlags and IntentsRapptz2020-09-231-1/+2
|
* Default MemberCacheFlags based on intentsRapptz2020-09-233-2/+30
|
* Add a special exception for required privileged intentsRapptz2020-09-233-3/+43
|
* Pass default intents if not explicitly givenRapptz2020-09-231-0/+2
|
* Intern status and overwrite stringsRapptz2020-09-232-5/+7
|
* Allow finer grained control over the member cache.Rapptz2020-09-236-11/+172
|
* Raise if member intent is not enabledRapptz2020-09-231-0/+9
|
* Don't cache members during guild start up if cache is disabled.Rapptz2020-09-231-1/+4
| | | | | | | This is mainly a half-implemented commit. There are a few more places where cache consistency is necessary. In the future there will probably be a member cache policy enum that will be used and cache consistency will be tackled in part of that larger refactoring.
* Add Guild.chunk and deprecated Client.request_offline_membersRapptz2020-09-234-32/+57
|
* Fix Client.request_offline_members no longer workingRapptz2020-09-232-8/+17
|
* Add versionadded for intents enumRapptz2020-09-231-0/+2
|
* Explicitly disable the members presence by defaultRapptz2020-09-231-4/+11
|
* Fix timeouts due to hitting the gateway rate limitRapptz2020-09-231-2/+2
|
* Maximize the amount of concurrency while chunking.Rapptz2020-09-231-1/+13
| | | | | | In order to reduce our amount of backpressure we need to limit the amount of concurrent chunk requests we can have so the gateway buffer has some time to breathe.
* Check for zombie connections through last received payloadRapptz2020-09-231-1/+9
| | | | | | | The previous code would check zombie connections depending on whether HEARTBEAT_ACK was received. Unfortunately when there's exceeding backpressure the connection can terminate since the HEARTBEAT_ACK is buffered very far away despite it being there, just not received yet.
* Speed up chunking for guilds with presence intent enabledRapptz2020-09-231-3/+8
|
* Maximize concurrency when chunking on AutoSharded clientsRapptz2020-09-231-21/+45
|
* Use a lock for the gateway rate limiter.Rapptz2020-09-231-5/+12
| | | | | This will allow for higher concurrency in AutoSharded situations where I can mostly "fire and forget" the chunk requests.
* Heartbeats bypass the rate limits for gatewayRapptz2020-09-231-3/+14
|
* All guilds require chunking if opting into itRapptz2020-09-231-6/+3
|