| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Make __main__ template strings private | Rapptz | 2021-08-22 | 1 | -10/+10 |
| | | |||||
| * | Add explicit type annotation to version_info and reformat | Rapptz | 2021-08-22 | 1 | -6/+8 |
| | | |||||
| * | Typehint async_context global variable | Rapptz | 2021-08-22 | 1 | -2/+2 |
| | | |||||
| * | Make json conversion functions private | Rapptz | 2021-08-22 | 5 | -17/+17 |
| | | |||||
| * | Make global log variable in modules private | Rapptz | 2021-08-22 | 11 | -147/+147 |
| | | |||||
| * | ResponseType type alias is private | Rapptz | 2021-08-22 | 1 | -4/+4 |
| | | |||||
| * | Add typing metadata | Riley Shaw | 2021-08-22 | 3 | -0/+2 |
| | | |||||
| * | Add type: ignore for StageInstance.channel | Stocker | 2021-08-21 | 1 | -1/+2 |
| | | |||||
| * | Reformat shard.py | Rapptz | 2021-08-21 | 1 | -10/+32 |
| | | |||||
| * | Reformat state.py | Rapptz | 2021-08-21 | 1 | -51/+86 |
| | | |||||
| * | Don't clear views in READY | Rapptz | 2021-08-21 | 1 | -3/+5 |
| | | |||||
| * | Typehint state.py | Stocker | 2021-08-21 | 3 | -179/+237 |
| | | |||||
| * | [commands] Make GroupMixin Generic | Josh | 2021-08-21 | 1 | -10/+21 |
| | | |||||
| * | Add missing typehints for Member properties | Arnav Jindal | 2021-08-21 | 1 | -0/+3 |
| | | |||||
| * | Fix on_typing not dispatching for threads | Rapptz | 2021-08-20 | 1 | -1/+1 |
| | | |||||
| * | [commands] De-indent after hook call | Rapptz | 2021-08-20 | 1 | -1/+1 |
| | | | | | Close #7412 | ||||
| * | Copy docs from Client.close() to Bot.close() | Willy | 2021-08-20 | 1 | -0/+1 |
| | | |||||
| * | Typehint shard.py | Stocker | 2021-08-20 | 1 | -63/+77 |
| | | |||||
| * | Re-define Member properties inferred from User to support type-checking | Josh | 2021-08-20 | 1 | -6/+8 |
| | | |||||
| * | Typehint context_managers.py | Stocker | 2021-08-20 | 1 | -10/+28 |
| | | |||||
| * | Add a few typehints to opus.py | Stocker | 2021-08-19 | 1 | -4/+18 |
| | | |||||
| * | Fix missing typehint that causes an error for a type checker | Stocker | 2021-08-19 | 1 | -1/+2 |
| | | |||||
| * | Add Thread to the return type of Client.get_channel | Stocker | 2021-08-19 | 3 | -16/+21 |
| | | | | Also explains some type ignores. | ||||
| * | [commands] reset view when Optional argument encounters parsing error | Sebastian Law | 2021-08-19 | 1 | -1/+8 |
| | | |||||
| * | [commands][types] Type hint commands-ext | Josh | 2021-08-19 | 6 | -312/+636 |
| | | |||||
| * | default to 0 instead of 15 for Guild.sticker_limit | Nadir Chowdhury | 2021-08-19 | 1 | -1/+1 |
| | | |||||
| * | Use channel default auto archive duration | James Gayfer | 2021-08-18 | 2 | -7/+7 |
| | | | | | | | | | | Currently creating a new thread uses a default auto archive duration of 1440 minutes, or 1 day. Rather than prescribing our own default, we can use the default auto archive duration that is set on the channel. This ensures that newly created threads will respect the default auto archive duration as prescribed by the user. | ||||
| * | Fix some type hints in user.py | Rapptz | 2021-08-18 | 1 | -5/+2 |
| | | |||||
| * | Add Thread.members and Thread.fetch_members | Rapptz | 2021-08-18 | 1 | -0/+32 |
| | | |||||
| * | Remove deprecated TextChannel.active_threads for Guild version | Rapptz | 2021-08-18 | 3 | -28/+35 |
| | | | | | This also fills in the ThreadMember data from the endpoint | ||||
| * | Partially type-hint state.py | Rapptz | 2021-08-18 | 1 | -19/+25 |
| | | | | | | This is just work to get started. A more complete type hint will come later. | ||||
| * | Move explanation note for type ignore above the offending line | Rapptz | 2021-08-18 | 1 | -1/+2 |
| | | |||||
| * | Fix Template.source_guild typehint | Rapptz | 2021-08-18 | 1 | -7/+8 |
| | | |||||
| * | Add missing typehints to template.py | Stocker | 2021-08-18 | 1 | -15/+18 |
| | | |||||
| * | flag_value should not be a generic class | Bryan Forbes | 2021-08-18 | 1 | -1/+1 |
| | | | | | | | | | | | | Since there is no generic information in `flag_value.__init__()`, `flag_value` descriptors get stored as `flag_value[<nothing>]` in mypy strict mode and then the `__get__` overloads never match. This leads to errors when using things like `permissions_instance.embed_links` since `<nothing>` never matches `Permissions`. The generic inheritance isn't needed at all since the type information we care about comes from the call site of `__get__` and not the instantiation of the descriptor. | ||||
| * | [commands] Typehinted errors.py | Stocker | 2021-08-18 | 1 | -102/+117 |
| | | |||||
| * | Fix documentation for Message.is_system | Rapptz | 2021-08-18 | 1 | -3/+11 |
| | | | | | Also fixes some formatting | ||||
| * | Update Permissions classmethods to include thread/stage/sticker | z03h | 2021-08-18 | 1 | -3/+11 |
| | | |||||
| * | Fix Guild.fetch_channel not working for threads | la | 2021-08-18 | 2 | -5/+13 |
| | | |||||
| * | Fix missing or broken versionadded in docstrings | AkshuAgarwal | 2021-08-18 | 5 | -3/+26 |
| | | | | This also documents BadFlagArgument.flag | ||||
| * | Add other message types exclusions to Message.is_system | SYCKGit | 2021-08-18 | 1 | -1/+1 |
| | | | | | Message.is_system was checking if self.type is MessageType.default but now there are other MessageTypes that are not system messages | ||||
| * | [commands] Return removed cog in Bot.remove_cog | thetimtoy | 2021-08-18 | 1 | -1/+8 |
| | | | | The method now returns the removed cog, if it exists. | ||||
| * | Type-hint user.py | thetimtoy | 2021-08-18 | 1 | -34/+65 |
| | | |||||
| * | Add interaction.data to docs | Miolus | 2021-08-18 | 1 | -0/+2 |
| | | |||||
| * | Typehint raw_models.py | Stocker | 2021-08-18 | 2 | -45/+159 |
| | | |||||
| * | Remove coverage note from the documentation and README | Rapptz | 2021-08-15 | 3 | -3/+0 |
| | | | | | | | | | | A lot of people seem to point out this line as a gotcha when certain features haven't been released yet. It's been more of a pain-point than a marketing win since people seem to be unaware of the way this project is developed. Fix #7401 | ||||
| * | Rename start_thread to create_thread for consistency | Rapptz | 2021-08-12 | 2 | -16/+16 |
| | | |||||
| * | Fix incorrect indent | Rapptz | 2021-08-11 | 1 | -1/+1 |
| | | |||||
| * | Revert "Refactor Client.run to use asyncio.run" | Rapptz | 2021-08-11 | 2 | -100/+103 |
| | | | | | This reverts commit 6e6c8a7b2810747222a938c7fe3e466c2994b23f. | ||||
| * | Refactor Client.run to use asyncio.run | Rapptz | 2021-08-10 | 2 | -103/+100 |
| | | | | | | | | | This also adds asynchronous context manager support to allow for idiomatic asyncio usage for the lower-level counterpart. At first I wanted to remove Client.run but I figured that a lot of beginners would have been confused or not enjoyed the verbosity of the newer approach of using async-with. | ||||