aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
Commit message (Collapse)AuthorAgeFilesLines
* Add Client.intents to query the current intentsRapptz2020-09-261-0/+8
| | | | Closes #5854
* Add chunk_guilds_at_startup and deprecate fetch_offline_membersRapptz2020-09-241-7/+13
|
* Some documentation fixes for MemberCacheFlags and IntentsRapptz2020-09-231-1/+2
|
* Default MemberCacheFlags based on intentsRapptz2020-09-231-0/+2
|
* Add a special exception for required privileged intentsRapptz2020-09-231-0/+2
|
* Allow finer grained control over the member cache.Rapptz2020-09-231-2/+7
|
* Add Guild.chunk and deprecated Client.request_offline_membersRapptz2020-09-231-1/+2
|
* Fix Client.request_offline_members no longer workingRapptz2020-09-231-4/+9
|
* Add support for guild intentsRapptz2020-09-231-0/+4
|
* Implement VoiceProtocol lower level hooks.Rapptz2020-09-231-1/+5
| | | | | This allows changing the connect flow and taking control of it without relying on internal events or tricks.
* Fix and add documentationMichael2020-09-231-2/+12
|
* Remove namedtuples to better future guard the libraryTarek2020-09-211-1/+0
|
* Don't call close() if we've already been closed in Client.runalkatar212020-09-011-1/+2
|
* Fix hyperlink reference to PartialInviteChannel in ClientNanofaux2020-08-221-1/+1
|
* Fix gramatical error in Client guild_subscriptions docsJosh2020-08-041-1/+1
|
* Add guild_ready_timeout to control the timeout of GUILD_CREATE streamRapptz2020-07-251-0/+5
| | | | | | | This also fixes a timing issue where READY would take far too long to load for big bot authors. Closes #4112
* Handle Connection Reset by Peer connection errors.Rapptz2020-07-251-14/+23
| | | | | | | | | | | | This should work both on Windows and on Linux. Apparently these types of blips are considered normal for Discord. So rather than letting the reconnect logic handler expect these to be catastrophic, it should handle it specially so it doesn't waste an IDENTIFY for what ultimately should just be a small networking blip. This also makes it less noisy for the end-user as these complaints happen from time to time.
* Add before_identify_hook to have finer control over IDENTIFY syncingRapptz2020-07-251-6/+37
|
* Rewrite gateway to use aiohttp instead of websocketsRapptz2020-07-251-5/+6
|
* Rewrite of AutoShardedClient to prevent overlapping identifyRapptz2020-07-251-3/+6
| | | | This is experimental and I'm unsure if it actually works
* [bugs] stop resolving Object for template/invite; remove dupe methodsNCPlayz2020-06-291-2/+2
|
* Add support for Discord templatesNadir Chowdhury2020-06-281-2/+36
|
* Fix various inconsistencies within the documentation (#5067)Sebastian Law2020-06-281-6/+6
|
* Prepare for the discord.com domain renameRapptz2020-05-231-1/+1
|
* Fix timeout issues with fetching members via query_membersRapptz2020-05-101-19/+5
| | | | | | | | | | | | This uses the nonce field to properly disambiguate queries. There's also some redesigning going on behind the scenes and minor clean-up. Originally I planned on working on this more to account for the more widespread chunking changes planned for gateway v7 but I realized that this would indiscriminately slow down everyone else who isn't planning on working with intents for now. I will work on the larger chunking changes in the future, should time allow for it.
* Rename allowed mention parameters to allowed_mentionsRapptz2020-04-041-8/+8
|
* Allow introspection and setting of global allowed mention configurationRapptz2020-04-041-0/+18
|
* Fix various implementation bugs with allowed mentionsRapptz2020-04-041-1/+1
|
* Add support for configuring allowed mentions per message or bot wide.Rapptz2020-04-041-1/+5
|
* Fix regression with Member.activities not clearingRapptz2020-04-041-0/+3
|
* Change default close code to 4000 instead of 1000.Rapptz2020-04-041-1/+1
| | | | | | | | | | This prevents our sessions from being invalidated by Discord which caused a lot of failures when resuming. This caused an unnecessary amount of IDENTIFYs to happen depending on the circumstances. Closes #2631 See also discord/discord-api-docs#1472
* Don't add None to Member.activities tuplejack11422020-04-041-1/+2
|
* fixing the BaseActivity linksGlazed_Belmont2020-04-041-3/+3
|
* Minor documentation fixesRapptz2020-01-211-1/+1
|
* Drop superfluous zero in version related changes in the documentationRapptz2020-01-211-2/+2
|
* Bump copyright year to 2020Rapptz2020-01-191-1/+1
| | | | Closes #2510
* Document BaseActivityRapptz2020-01-141-4/+0
|
* Expose _ActivityTag as BaseActivity to easily refer to.Rapptz2020-01-141-6/+6
|
* Fix more deprecation warnings for 3.8Rapptz2019-11-261-1/+1
|
* Fix all deprecation warnings for 3.8Rapptz2019-11-201-5/+5
|
* Use X-Ratelimit-Reset-After header by default.Rapptz2019-08-271-1/+10
| | | | There is now an option to turn it off, of course.
* Strip tokens before use.Rapptz2019-08-271-1/+1
| | | | Closes #2135
* Allow disabling the message cache with max_messages=NoneRapptz2019-08-271-3/+5
| | | | | | This also changes the default to 1000 instead of 5000 since it can take some time for small bots to cycle through the default and they make up the majority of it.
* Disambiguate and normalize documentation for non-bot only methodsTyler2019-08-111-1/+5
|
* Document that the cache retrieval functions require an int ID.Rapptz2019-07-231-9/+40
| | | | Closes #2285
* on_member_leave => on_member_removeTarek2019-07-181-1/+1
|
* Fix doc URL in Client.fetch_guildSteve C2019-07-181-1/+1
|
* Better knowledge on how guild_subscriptions work now.Rapptz2019-07-151-1/+6
|
* Add versionadded for guild_subscriptions option.Rapptz2019-07-101-14/+16
|
* Add support for guild subscriptions.Rapptz2019-07-101-0/+24
|