aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Partially type-hint state.pyRapptz2021-08-181-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 lineRapptz2021-08-181-1/+2
|
* Fix Template.source_guild typehintRapptz2021-08-181-7/+8
|
* Add missing typehints to template.pyStocker2021-08-181-15/+18
|
* flag_value should not be a generic classBryan Forbes2021-08-181-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.pyStocker2021-08-181-102/+117
|
* Fix documentation for Message.is_systemRapptz2021-08-181-3/+11
| | | | Also fixes some formatting
* Update Permissions classmethods to include thread/stage/stickerz03h2021-08-181-3/+11
|
* Fix Guild.fetch_channel not working for threadsla2021-08-182-5/+13
|
* Fix missing or broken versionadded in docstringsAkshuAgarwal2021-08-185-3/+26
| | | This also documents BadFlagArgument.flag
* Add other message types exclusions to Message.is_systemSYCKGit2021-08-181-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_cogthetimtoy2021-08-181-1/+8
| | | The method now returns the removed cog, if it exists.
* Type-hint user.pythetimtoy2021-08-181-34/+65
|
* Add interaction.data to docsMiolus2021-08-181-0/+2
|
* Typehint raw_models.py Stocker2021-08-182-45/+159
|
* Remove coverage note from the documentation and READMERapptz2021-08-153-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 consistencyRapptz2021-08-122-16/+16
|
* Fix incorrect indentRapptz2021-08-111-1/+1
|
* Revert "Refactor Client.run to use asyncio.run"Rapptz2021-08-112-100/+103
| | | | This reverts commit 6e6c8a7b2810747222a938c7fe3e466c2994b23f.
* Refactor Client.run to use asyncio.runRapptz2021-08-102-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 documentationDavid2021-08-101-1/+1
|
* Add missing ] in docs for StageInstance.channelMrKomodoDragon2021-08-101-1/+1
|
* Undo coercion of partial DMChannel to PartialMessageableRapptz2021-08-102-5/+21
|
* Remove unused log lines in HTTPClientRapptz2021-08-101-4/+0
|
* Interaction.channel can be a PartialMessageable rather than ObjectRapptz2021-08-101-8/+17
| | | | This allows it to work just fine in DMs
* Add support for PartialMessageable instancesRapptz2021-08-106-30/+125
| | | | | This allows library users to send messages to channels without fetching it first.
* Fill in ConnectionState.user via HTTPClient.static_loginGnome!2021-08-101-3/+4
|
* [types] Add Application Command Type payloadsJosh2021-08-101-2/+14
|
* [docs] Fix typomonoue2021-08-101-6/+6
|
* [commands] Document / type-hint cooldownJosh2021-08-104-59/+142
|
* [commands] Document GuildNotFoundAaron Hennessey2021-08-101-0/+1
|
* [commands] Add GuildStickerConverterz03h2021-08-103-0/+65
|
* Add TextChannel.default_auto_archive_durationRapptz2021-08-023-1/+13
|
* Fallback to None message_id searches in View dispatchRapptz2021-08-011-1/+3
| | | | | | | Not all persistent views have an associated message_id attached to them. Fix #7319
* Fix debug event toggle not triggering for raw receiveRapptz2021-08-011-3/+3
|
* Remove unused variable in viewRapptz2021-08-011-1/+0
|
* Change View dispatch mechanism to be keyed by message_id as wellRapptz2021-07-311-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_threadRapptz2021-07-311-1/+1
|
* Add enable_debug_events parameter to enable expensive debug eventsRapptz2021-07-313-3/+30
| | | | This should allow less dispatching during heavy gateway event streams.
* Cast removed thread member IDs to intRapptz2021-07-311-1/+1
|
* Add on_socket_event_type eventRapptz2021-07-312-3/+15
|
* FIx on_thread_member_remove passing in NoneRapptz2021-07-311-1/+2
|
* Fix on_thread_member_remove not dispatchingRapptz2021-07-311-1/+1
|
* Fix docs for stickers LightSage2021-07-312-2/+2
|
* Update description of auto_archive_duration kwarg of Thread.editWilly2021-07-311-1/+1
|
* Change payload to use sticker_ids instead of sticker_itemsRapptz2021-07-301-2/+2
|
* Document TypeError raise in lottie stickerRapptz2021-07-301-0/+2
|
* Rename instances of nitro to premiumRapptz2021-07-306-11/+11
|
* Fix SyncWebhook not working across thread barriersRapptz2021-07-301-11/+22
| | | | Fix #7310
* Fix User.accent_color incorrect attribute accessnickofolas2021-07-301-2/+2
|