| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | 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. | |||||
| * | Clarify StageInstance.discoverable_disabled documentation | David | 2021-08-10 | 1 | -1/+1 | |
| | | ||||||
| * | Add missing ] in docs for StageInstance.channel | MrKomodoDragon | 2021-08-10 | 1 | -1/+1 | |
| | | ||||||
| * | Undo coercion of partial DMChannel to PartialMessageable | Rapptz | 2021-08-10 | 2 | -5/+21 | |
| | | ||||||
| * | Remove unused log lines in HTTPClient | Rapptz | 2021-08-10 | 1 | -4/+0 | |
| | | ||||||
| * | Interaction.channel can be a PartialMessageable rather than Object | Rapptz | 2021-08-10 | 1 | -8/+17 | |
| | | | | | This allows it to work just fine in DMs | |||||
| * | Add support for PartialMessageable instances | Rapptz | 2021-08-10 | 6 | -30/+125 | |
| | | | | | | This allows library users to send messages to channels without fetching it first. | |||||
| * | Fill in ConnectionState.user via HTTPClient.static_login | Gnome! | 2021-08-10 | 1 | -3/+4 | |
| | | ||||||
| * | [types] Add Application Command Type payloads | Josh | 2021-08-10 | 1 | -2/+14 | |
| | | ||||||
| * | [docs] Fix typo | monoue | 2021-08-10 | 1 | -6/+6 | |
| | | ||||||
| * | [commands] Document / type-hint cooldown | Josh | 2021-08-10 | 4 | -59/+142 | |
| | | ||||||
| * | [commands] Document GuildNotFound | Aaron Hennessey | 2021-08-10 | 1 | -0/+1 | |
| | | ||||||
| * | [commands] Add GuildStickerConverter | z03h | 2021-08-10 | 3 | -0/+65 | |
| | | ||||||
| * | Add TextChannel.default_auto_archive_duration | Rapptz | 2021-08-02 | 3 | -1/+13 | |
| | | ||||||
| * | Fallback to None message_id searches in View dispatch | Rapptz | 2021-08-01 | 1 | -1/+3 | |
| | | | | | | | | Not all persistent views have an associated message_id attached to them. Fix #7319 | |||||
| * | Fix debug event toggle not triggering for raw receive | Rapptz | 2021-08-01 | 1 | -3/+3 | |
| | | ||||||
| * | Remove unused variable in view | Rapptz | 2021-08-01 | 1 | -1/+0 | |
| | | ||||||
| * | Change View dispatch mechanism to be keyed by message_id as well | Rapptz | 2021-07-31 | 1 | -5/+6 | |
| | | | | | | | | | If different persistent view instances are used within different message_ids their callbacks will get called without differentiating between them, leading to potential issues such as 404 errors. This change makes it so N views with custom IDs bound to N message_ids will no longer conflict with one another. | |||||
| * | Fix typo in TextChannel.start_thread | Rapptz | 2021-07-31 | 1 | -1/+1 | |
| | | ||||||
| * | Add enable_debug_events parameter to enable expensive debug events | Rapptz | 2021-07-31 | 3 | -3/+30 | |
| | | | | | This should allow less dispatching during heavy gateway event streams. | |||||
| * | Cast removed thread member IDs to int | Rapptz | 2021-07-31 | 1 | -1/+1 | |
| | | ||||||
| * | Add on_socket_event_type event | Rapptz | 2021-07-31 | 2 | -3/+15 | |
| | | ||||||
| * | FIx on_thread_member_remove passing in None | Rapptz | 2021-07-31 | 1 | -1/+2 | |
| | | ||||||
| * | Fix on_thread_member_remove not dispatching | Rapptz | 2021-07-31 | 1 | -1/+1 | |
| | | ||||||
| * | Fix docs for stickers | LightSage | 2021-07-31 | 2 | -2/+2 | |
| | | ||||||
| * | Update description of auto_archive_duration kwarg of Thread.edit | Willy | 2021-07-31 | 1 | -1/+1 | |
| | | ||||||