aboutsummaryrefslogtreecommitdiff
path: root/discord
Commit message (Collapse)AuthorAgeFilesLines
* Version bump to v1.3.3v1.3.3Rapptz2020-04-041-2/+2
|
* Change default close code to 4000 instead of 1000.Rapptz2020-04-043-3/+3
| | | | | | | | | | 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-042-2/+4
|
* Add "FEATURABLE" in guild features.PredaaA2020-04-041-0/+1
|
* [commands] Fix a typo in the docstring of the internal _Semaphore classs0lst1ce2020-04-041-1/+1
|
* fixing the BaseActivity linksGlazed_Belmont2020-04-041-3/+3
|
* Bump version to v1.3.2v1.3.2Rapptz2020-02-221-2/+2
|
* Suppress missing Content-Type headers when fetching contentRapptz2020-02-221-2/+7
| | | | Fixes #2572
* Fix invalid format specifier in PartialWebhookState.__getattr__Sebastiaan Zeeff2020-02-221-1/+1
| | | | | | | | | The message for the AttributeError raised by the __getattr__ method of the PartialWebhookState class is formatted using `str.format`. However, the placeholder contained a stray ":" before the !r specifier. This caused a ValueError("Invalid format specifier") to be raised whenever this method was called in lieu of the AttributeError that is intended to be raised.
* Fix Webhook.send returning an empty string when wait=FalseRapptz2020-02-161-2/+4
|
* Fix crashes when Message.guild is ObjectRapptz2020-02-161-2/+2
|
* [commands] Raise when passing invalid permission keys in their checksRapptz2020-02-021-4/+24
|
* Guard against the member data not being available in VOICE_STATE_UPDATERapptz2020-02-011-1/+4
|
* Better detection for Cloudflare related 429s.Rapptz2020-02-011-1/+1
| | | | | | | At some point Cloudflare started returning some JSON. I don't know how this JSON looks like. See #2544
* Use member data from VOICE_STATE_UPDATE if not found in cacheRapptz2020-02-011-0/+3
|
* Bump waiting time of GUILD_CREATE stream by number of shards waited.Rapptz2020-01-282-2/+4
| | | | | 2 seconds might be too short and cause it to finish waiting while other shards are still IDENTIFYing.
* Version bump to v1.3.1v1.3.1Rapptz2020-01-261-2/+2
|
* Downgrade unknown event logging to DEBUG rather than WARNINGRapptz2020-01-261-1/+1
| | | | It's too noisy
* Explicitly check for guild objectMerlintor2020-01-261-1/+2
|
* Import ABC from collections.abc instead of collectionsKarthikeyan Singaravelan2020-01-251-1/+1
| | | | This is for Python 3.9 compatibility.
* Fix warnings regarding invalid escape sequences.Karthikeyan Singaravelan2020-01-251-1/+1
|
* Fix fetching invites on guilds the user is not inRapptz2020-01-251-1/+1
|
* Remove extra backtick in CustomActivity docsSnaptraks2020-01-241-1/+1
|
* Documentation fixes (#2531)Harmon2020-01-241-1/+1
| | | | | * Fix indentation for versionadded for Team.members * Replace tabs with spaces in API Reference documentation
* Version bump to v1.3v1.3.0Rapptz2020-01-241-2/+2
|
* Mention that you can create Permissions via kwargs nowRapptz2020-01-231-0/+4
|
* Fixes and improvements for v1.3 documentationHarmon2020-01-2212-18/+81
| | | | | | | | | * Add missing versionadded strings for v1.3 * Add missing versionchanged string for Message.edit * Consistently use versionadded for attributes * Consistently use versionchanged for parameters * Use versionchanged for Bot.is_owner * Fix references in v1.3 changelog * Improve grammar in v1.3 changelog
* Fix out of order files being sent in webhooks when there are 10 files.Rapptz2020-01-221-1/+1
|
* Minor documentation fixesRapptz2020-01-212-3/+3
|
* Add missing coroutine header for sleep_untilRapptz2020-01-211-1/+3
|
* Improve usability of utils.sleep_untilJosh B2020-01-212-8/+8
| | | | | | | | | Fix issue where sleeping for an extended period on python 3.5 would cause an exception Add sleep_until to API docs Add result argument to sleep_until
* [commands] Only clean semaphore when there are no waitersRapptz2020-01-211-1/+4
|
* [commands] Implement Command.__call__Rapptz2020-01-211-0/+18
|
* Drop superfluous zero in version related changes in the documentationRapptz2020-01-2117-61/+61
|
* [commands] Be more clear in the default error for MaxConcurrencyReachedRapptz2020-01-211-1/+1
|
* [commands] Refactor BucketType to not repeat in other places in codeRapptz2020-01-211-39/+24
|
* [commands] Add max_concurrency decoratorRapptz2020-01-213-1/+204
|
* [tasks] Use new sleep_until util instead of internal functionRapptz2020-01-211-6/+2
|
* Add discord.utils.sleep_until helper functionJosh B2020-01-211-0/+18
|
* [tasks] Fix issue with next_iteration when task overruns time allottedJosh B2020-01-211-3/+7
|
* [tasks] Add Loop.next_iteration propertyJosh B2020-01-201-1/+26
|
* Fix fetching invites for a GroupChannel.Rapptz2020-01-201-12/+23
| | | | | Closes #2394 Fixes #2383
* [commands] Allow @ prefixed usernames in DM contexts for UserConverterHugo Woesthuis2020-01-201-2/+7
| | | | | | | Previously the argument '@user#0000' return None. To fix this, as this is a common user error, an extra check was added to remove the first character from the argument if this is an '@'. Discord names may not contain an '@' anyways.
* Update attachment documentation for width/height applying to videos tooRapptz2020-01-201-2/+2
|
* Bump copyright year to 2020Rapptz2020-01-1956-64/+64
| | | | Closes #2510
* [commands] Case insensitivity uses casefold instead of lowerRapptz2020-01-191-6/+6
| | | | | There seems to be very little performance regression in doing so (+5ns) so might as well go for the more correct behaviour.
* Added docs for overwrites kwarg for CategoryChannel.editWilly2020-01-191-0/+5
|
* Add instance check to PermissionOvewrite.__eq__Rapptz2020-01-191-1/+1
|
* Document NotFound exception raise in message deletion endpointsRapptz2020-01-182-3/+7
|
* [commands] Document BucketType separatelyRapptz2020-01-181-10/+2
|