aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add Number type (10) to Application Command Option typesJosh2021-07-281-1/+7
|
* Add an example for the new dropdownsRobin56052021-07-281-0/+63
|
* Add BaseUser.banner for all subclasses to access new bannersAlex Nørgaard2021-07-282-2/+61
|
* Add a new view example for link buttonsAy3552021-07-221-0/+39
|
* Fix incorrect typehint in send_messageWilly2021-07-211-2/+2
|
* Fix typo in commands documentationAXVin2021-07-211-1/+1
|
* Add format_dt to utils __all__Vaskel2021-07-211-0/+1
|
* Fix permissions_for for roles z03h2021-07-211-14/+17
|
* [commands] Remove unused copy import in Cogthetimtoy2021-07-211-1/+0
|
* Add versionadded to ui.View and ui.Itemscrazzz2021-07-212-0/+4
|
* Fix typo in UserFlags.has_unread_urgent_messagesSebastian Law2021-07-211-1/+1
|
* Fix Thread.slowmode_delay not updatingz03h2021-07-211-0/+2
|
* Fix documentation note for interaction_checkKaylynn Morgan2021-07-211-3/+2
|
* fix typo in ephemeral function definitionNadir Chowdhury2021-07-211-1/+1
|
* Remove afk parameter from change_presenceAaron Hennessey2021-07-213-17/+14
|
* Stricter type hint in releaselevelRyu JuHeon2021-07-211-2/+2
|
* Add PartialMessage to list of allowed message reference typesLilly Rose Berner2021-07-211-9/+9
|
* Fix type annotations for purge's limit param on Thread/TextChannelSteve C2021-07-212-2/+2
| | | Optional was missing.
* [commands] fix incorrect typings in ThreadConverterAlex Nørgaard2021-07-211-3/+4
|
* Sync Guild.features to documentationNadir Chowdhury2021-07-102-27/+43
|
* [commands] Fix (Partial)MessageConverter to work with thread messagesNadir Chowdhury2021-07-104-12/+51
|
* Undocument Item.widthRapptz2021-07-091-1/+0
| | | | It doesn't serve much of a purpose to users
* [commands] Get guild_id from message link for message convertersRapptz2021-07-091-8/+28
|
* Re-try requests on 504 error and raise correct errorLilly Rose Berner2021-07-091-3/+3
|
* Refactor utcfromtimestamp to use fromtimestamp(..., tz=utc)Rapptz2021-07-093-11/+10
|
* Change WEBHOOK_UPDATE to use guild information from gatewayRapptz2021-07-081-1/+6
| | | | | | This changes the lookup from unnecessary O(n) to two amortised O(1) lookups. This event pretty much always has a guild_id so the original code was always a performance bottleneck.
* Change CHANNEL_PINS_UPDATE to use guild information from gatewayRapptz2021-07-081-7/+9
| | | | This changes the channel lookup from O(n) to two amortised O(1) lookups
* Use a specific tag type for member and user comparisonsRapptz2021-07-082-9/+11
| | | | | | The previous protocol based tag type caused significant overhead (in the magnitude of seconds). Removing this should simplify object creation by removing typing.Generic from the __mro__
* Remove extraneous dict assignment from view storeRapptz2021-07-071-1/+0
|
* Remove channel type coercion in factory methodsRapptz2021-07-071-10/+4
| | | | | This caused unnecessary isinstance checks which were slowing down channel creation at scale
* Remove calls to gc.collect in ConnectionStateRapptz2021-07-071-18/+0
| | | | | For some bots this was actually a performance bottleneck, might as well remove it if it causes bad performance
* Change _Overwrite to get dict entries rather than mutateRapptz2021-07-071-4/+4
|
* Move global user storage from WeakValueDictionary to dictRapptz2021-07-072-6/+44
| | | | | | | | | | | | Profiling showed that WeakValueDictionary caused rather significant and noticeable slowdowns during startup. Since the only thing it was used for was to automatically remove the key from the mapping when the reference count reaches zero, the same could theoretically be accomplished by using the __del__ special method. There is a chance that this could lead to a memory leak since the __del__ method is not always called, but the only instances of this happening are during interpreter shutdown to my knowledge and at that point the mapping is the least of my concern.
* Allow use of orjson instead of jsonRapptz2021-07-074-6/+27
| | | | | | | The difference in speed seems negligible at start up, which is when most time is taken for actually parsing JSON. I could potentially be missing something but profiling didn't point to any discernable difference.
* Type-hint backoff.pyJosh2021-07-071-9/+27
|
* Update intents docs to reflect presence update changesapple502j2021-07-071-2/+2
|
* [commands] update clean_content to work when standalonez03h2021-07-071-50/+43
|
* [commands] Document the thread converterToxicKidz2021-07-073-1/+11
|
* [commands] Add ThreadConverterAlex Nørgaard2021-07-052-0/+57
|
* Separate member_update and presence_update eventsRapptz2021-07-042-3/+19
|
* Update README to point to 3.8 requirementRapptz2021-07-042-2/+2
|
* Add SelectOption.__str__Rapptz2021-07-041-0/+10
|
* Fix typo in stage_instance.pyAaron Hennessey2021-07-041-1/+1
|
* Fix typo in voice_client.pyJosh2021-07-041-1/+1
|
* Fix Permission serialisation in audit logsRapptz2021-07-041-2/+2
| | | | Fix #7171
* Fix typing errors with ClientRapptz2021-07-043-17/+31
|
* Specify View timeouts is in secondsRapptz2021-07-041-1/+1
|
* Fix type errors and potentially unbound code in http.pyRapptz2021-07-041-28/+35
|
* Ignore linting error when accessing Python 3.10 unionsRapptz2021-07-041-1/+1
|
* Fix some typing errors and reformat enums.pyRapptz2021-07-041-74/+118
|