aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [commands] Fix repr for GreedyJosh2021-04-101-0/+4
|
* [commands] Refactor typing evaluation to not use get_type_hintsRapptz2021-04-101-58/+103
| | | | | | | | | | | | | | | | get_type_hints had a few issues: 1. It would convert = None default parameters to Optional 2. It would not allow values as type annotations 3. It would not implicitly convert some string literals as ForwardRef In Python 3.9 `list['Foo']` does not convert into `list[ForwardRef('Foo')]` even though `typing.List` does this behaviour. In order to streamline it, evaluation had to be rewritten manually to support our usecases. This patch also flattens nested typing.Literal which was not done until Python 3.9.2.
* [commands] Remove legacy ExtensionNotFound.original attributeRapptz2021-04-101-4/+1
|
* Fix Intents resolution in the docsRapptz2021-04-101-1/+1
|
* Bring back discord module in discord.ext.commands documentationRapptz2021-04-101-1/+4
|
* Update Sphinx to 3.5.3Rapptz2021-04-101-1/+1
|
* Remove current module reference in commands API docsRapptz2021-04-101-2/+0
|
* [docs] Fix references to GreedyNadir Chowdhury2021-04-102-6/+6
|
* [commands] Minimise code duplication in channel converters Nadir Chowdhury2021-04-101-117/+23
|
* Added discord.StageChannel in documentationTheOneMusic2021-04-101-0/+1
|
* [commands] Make `commands.Greedy` a `typing.Generic`James2021-04-103-44/+96
|
* Make the style of external and internal cross-references consistentjack11422021-04-101-2/+6
|
* Add missing attribute tablesjack11422021-04-101-0/+18
|
* [commands] Provide a dynamic cooldown system Dan Hess2021-04-102-19/+81
|
* Fix all warnings with SphinxRapptz2021-04-106-0/+12
|
* Add missing future annotations importRapptz2021-04-101-0/+2
|
* Add typings for invites, templates, and bans Nadir Chowdhury2021-04-107-38/+185
|
* Add typings for audit logs, integrations, and webhooks Nadir Chowdhury2021-04-108-54/+388
|
* [commands]Add typing.Literal converterSigmath Bits2021-04-103-30/+120
|
* make examples on_ready consistentpikaninja2021-04-098-20/+12
|
* Remove user token warning in loginCryptex2021-04-081-8/+0
|
* Update issue templates to newest versionsRapptz2021-04-082-2/+8
|
* [types] Snowflake can be either str or int.Rapptz2021-04-081-2/+2
|
* [commands] Raise error when a cog name is already registeredSebastian Law2021-04-081-2/+22
|
* Use Any instead of str for Embed typings for accuracyRapptz2021-04-081-10/+10
|
* Add typings for models for guilds, activities, and voiceNadir Chowdhury2021-04-085-0/+386
|
* Use f-strings in more places that were missedSebastian Law2021-04-087-18/+19
|
* Use f-strings in more places that were missed.Rapptz2021-04-0834-143/+220
|
* Update joined command in basic_bot to use f-stringsN-i-c-k-0072021-04-081-1/+1
|
* Add discord.types.Message.interaction attributeRapptz2021-04-081-0/+2
|
* Add interaction related typingsRapptz2021-04-082-5/+140
|
* Add AllowedMentions typingsRapptz2021-04-081-0/+10
|
* Fix up typings for attachment and messageRapptz2021-04-081-4/+8
|
* Add typings for `Message`, `Emoji`, and `Member` Nadir Chowdhury2021-04-085-2/+234
|
* [commands] Add StageChannelConverter to documentationRapptz2021-04-081-0/+3
|
* [commands] Use has_error_handler instead in command_errorpikaninja2021-04-071-2/+3
|
* Make the bot template use f-strings over str.formatKallum2021-04-071-2/+2
|
* Fix inaccuracies with `AsyncIterator` typingsNadir Chowdhury2021-04-071-15/+17
|
* Add typings for channels and `PartialUser` Nadir Chowdhury2021-04-073-0/+152
|
* Add typing for flagsNadir Chowdhury2021-04-071-26/+48
|
* [docs] add note for possible Embed.type stringsSebastian Law2021-04-071-0/+2
|
* Fix regression in Activity relying on `try_enum` Nadir Chowdhury2021-04-071-1/+4
|
* [docs] add label to basic converters sectionSebastian Law2021-04-071-0/+2
|
* Fix headers in partial webhook channel and guild objectsRapptz2021-04-071-2/+2
|
* Remove type hints from generated docsRapptz2021-04-071-0/+1
|
* Rename discord.types file based on relevant core module fileRapptz2021-04-072-3/+1
|
* Typehint discord.Embed and introduce discord.types subpackageRapptz2021-04-074-93/+252
| | | | | | | | The discord.types subpackage is currently only used to do type hinting of API payloads, it's very much incomplete right now and it'll be a rather long process. discord.Embed was typehinted and formatted using black.
* [commands] Update Converter list in ext.commands introductionShun Tannai2021-04-071-10/+16
|
* [commands] Only replace annotation if one was givenRapptz2021-04-071-1/+3
|
* Add `__all__` to remaining modulesNadir Chowdhury2021-04-0736-26/+210
|