aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Document on_thread_join also applying to thread creationRapptz2021-07-041-1/+2
|
* Add a warning in on_interactionRapptz2021-07-041-1/+7
|
* [commands] Remove window reassignment when tokens reach 0Rapptz2021-07-041-5/+0
|
* Mention ephemeral messages can only be edited with raw methodRapptz2021-07-031-0/+3
|
* Fix Client.fetch_channel not returning ThreadAlex Nørgaard2021-07-037-15/+22
|
* Fix ui.Button constructor default style to match the decoratorRapptz2021-07-031-1/+1
|
* Add MessageFlags.ephemeralRapptz2021-07-031-0/+9
|
* Fix building docs due to missing InteractionMessage in __all__Alex Nørgaard2021-07-031-0/+1
|
* Fix typing errors in PartialEmojiRapptz2021-07-031-3/+3
|
* Document TextChannel.start_thread return typeRapptz2021-07-032-0/+10
|
* Change Message.__repr__ to show inherited type nameRapptz2021-07-031-2/+2
|
* Add support for fetching the original interaction response messageRapptz2021-07-032-6/+288
|
* Remove slots from flagsRapptz2021-07-032-4/+1
| | | | Fix #7159
* Fix typo with exception name in InteractionResponseRapptz2021-07-031-4/+4
|
* Mention the discord.ui types in the read-only component typesRapptz2021-07-031-0/+10
|
* Typehint permissionsRapptz2021-07-032-71/+129
|
* Add Interaction.permissions to get resolved permissionsRapptz2021-07-031-1/+15
|
* Type hint instance variables in interactionsRapptz2021-07-032-29/+24
|
* Typehint error.pyRapptz2021-07-031-23/+67
|
* Use "raised" instead of "thrown" for exception documentationRapptz2021-07-031-13/+12
|
* Raise an exception if an interaction has been responded beforeRapptz2021-07-033-4/+42
| | | | Fix #7153
* Add Thread.is_nsfwAlex Nørgaard2021-07-031-0/+9
|
* Fix versionadded on ChannelType.private_threadAlex Nørgaard2021-07-021-1/+1
|
* Update examples of interactions to mention componentsjack11422021-07-021-2/+1
|
* Rework view timeouts to work as documentedRapptz2021-07-021-34/+63
|
* [commands] Add back CommandOnCooldown.typeRapptz2021-07-023-4/+11
|
* [commands] Mention that dynamic_cooldown callable can return NoneRapptz2021-07-021-3/+4
|
* Add Thread.mentionRapptz2021-07-011-0/+5
|