| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [commands] Fix repr for Greedy | Josh | 2021-04-10 | 1 | -0/+4 |
| | | |||||
| * | [commands] Refactor typing evaluation to not use get_type_hints | Rapptz | 2021-04-10 | 1 | -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 attribute | Rapptz | 2021-04-10 | 1 | -4/+1 |
| | | |||||
| * | Fix Intents resolution in the docs | Rapptz | 2021-04-10 | 1 | -1/+1 |
| | | |||||
| * | Bring back discord module in discord.ext.commands documentation | Rapptz | 2021-04-10 | 1 | -1/+4 |
| | | |||||
| * | Update Sphinx to 3.5.3 | Rapptz | 2021-04-10 | 1 | -1/+1 |
| | | |||||
| * | Remove current module reference in commands API docs | Rapptz | 2021-04-10 | 1 | -2/+0 |
| | | |||||
| * | [docs] Fix references to Greedy | Nadir Chowdhury | 2021-04-10 | 2 | -6/+6 |
| | | |||||
| * | [commands] Minimise code duplication in channel converters | Nadir Chowdhury | 2021-04-10 | 1 | -117/+23 |
| | | |||||
| * | Added discord.StageChannel in documentation | TheOneMusic | 2021-04-10 | 1 | -0/+1 |
| | | |||||
| * | [commands] Make `commands.Greedy` a `typing.Generic` | James | 2021-04-10 | 3 | -44/+96 |
| | | |||||
| * | Make the style of external and internal cross-references consistent | jack1142 | 2021-04-10 | 1 | -2/+6 |
| | | |||||
| * | Add missing attribute tables | jack1142 | 2021-04-10 | 1 | -0/+18 |
| | | |||||
| * | [commands] Provide a dynamic cooldown system | Dan Hess | 2021-04-10 | 2 | -19/+81 |
| | | |||||
| * | Fix all warnings with Sphinx | Rapptz | 2021-04-10 | 6 | -0/+12 |
| | | |||||
| * | Add missing future annotations import | Rapptz | 2021-04-10 | 1 | -0/+2 |
| | | |||||
| * | Add typings for invites, templates, and bans | Nadir Chowdhury | 2021-04-10 | 7 | -38/+185 |
| | | |||||
| * | Add typings for audit logs, integrations, and webhooks | Nadir Chowdhury | 2021-04-10 | 8 | -54/+388 |
| | | |||||
| * | [commands]Add typing.Literal converter | Sigmath Bits | 2021-04-10 | 3 | -30/+120 |
| | | |||||
| * | make examples on_ready consistent | pikaninja | 2021-04-09 | 8 | -20/+12 |
| | | |||||
| * | Remove user token warning in login | Cryptex | 2021-04-08 | 1 | -8/+0 |
| | | |||||
| * | Update issue templates to newest versions | Rapptz | 2021-04-08 | 2 | -2/+8 |
| | | |||||
| * | [types] Snowflake can be either str or int. | Rapptz | 2021-04-08 | 1 | -2/+2 |
| | | |||||
| * | [commands] Raise error when a cog name is already registered | Sebastian Law | 2021-04-08 | 1 | -2/+22 |
| | | |||||
| * | Use Any instead of str for Embed typings for accuracy | Rapptz | 2021-04-08 | 1 | -10/+10 |
| | | |||||
| * | Add typings for models for guilds, activities, and voice | Nadir Chowdhury | 2021-04-08 | 5 | -0/+386 |
| | | |||||
| * | Use f-strings in more places that were missed | Sebastian Law | 2021-04-08 | 7 | -18/+19 |
| | | |||||
| * | Use f-strings in more places that were missed. | Rapptz | 2021-04-08 | 34 | -143/+220 |
| | | |||||
| * | Update joined command in basic_bot to use f-strings | N-i-c-k-007 | 2021-04-08 | 1 | -1/+1 |
| | | |||||
| * | Add discord.types.Message.interaction attribute | Rapptz | 2021-04-08 | 1 | -0/+2 |
| | | |||||
| * | Add interaction related typings | Rapptz | 2021-04-08 | 2 | -5/+140 |
| | | |||||
| * | Add AllowedMentions typings | Rapptz | 2021-04-08 | 1 | -0/+10 |
| | | |||||
| * | Fix up typings for attachment and message | Rapptz | 2021-04-08 | 1 | -4/+8 |
| | | |||||
| * | Add typings for `Message`, `Emoji`, and `Member` | Nadir Chowdhury | 2021-04-08 | 5 | -2/+234 |
| | | |||||
| * | [commands] Add StageChannelConverter to documentation | Rapptz | 2021-04-08 | 1 | -0/+3 |
| | | |||||
| * | [commands] Use has_error_handler instead in command_error | pikaninja | 2021-04-07 | 1 | -2/+3 |
| | | |||||
| * | Make the bot template use f-strings over str.format | Kallum | 2021-04-07 | 1 | -2/+2 |
| | | |||||
| * | Fix inaccuracies with `AsyncIterator` typings | Nadir Chowdhury | 2021-04-07 | 1 | -15/+17 |
| | | |||||
| * | Add typings for channels and `PartialUser` | Nadir Chowdhury | 2021-04-07 | 3 | -0/+152 |
| | | |||||
| * | Add typing for flags | Nadir Chowdhury | 2021-04-07 | 1 | -26/+48 |
| | | |||||
| * | [docs] add note for possible Embed.type strings | Sebastian Law | 2021-04-07 | 1 | -0/+2 |
| | | |||||
| * | Fix regression in Activity relying on `try_enum` | Nadir Chowdhury | 2021-04-07 | 1 | -1/+4 |
| | | |||||
| * | [docs] add label to basic converters section | Sebastian Law | 2021-04-07 | 1 | -0/+2 |
| | | |||||
| * | Fix headers in partial webhook channel and guild objects | Rapptz | 2021-04-07 | 1 | -2/+2 |
| | | |||||
| * | Remove type hints from generated docs | Rapptz | 2021-04-07 | 1 | -0/+1 |
| | | |||||
| * | Rename discord.types file based on relevant core module file | Rapptz | 2021-04-07 | 2 | -3/+1 |
| | | |||||
| * | Typehint discord.Embed and introduce discord.types subpackage | Rapptz | 2021-04-07 | 4 | -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 introduction | Shun Tannai | 2021-04-07 | 1 | -10/+16 |
| | | |||||
| * | [commands] Only replace annotation if one was given | Rapptz | 2021-04-07 | 1 | -1/+3 |
| | | |||||
| * | Add `__all__` to remaining modules | Nadir Chowdhury | 2021-04-07 | 36 | -26/+210 |
| | | |||||