aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Rename types.Union -> UnionType for bpo-44732James2021-07-301-1/+1
|
* [commands] Fix NSFW check within threads under NSFW channelsmarshall2021-07-300-0/+0
|
* [commands] Document dynamic_cooldownWilly2021-07-301-0/+3
|
* Add Thread to Messageable docstringSYCKGit2021-07-301-0/+1
|
* Add Thread.categoryArthur2021-07-301-1/+21
|
* [commands] fix bot_has_role and is_nsfw for threadsz03h2021-07-301-7/+5
|
* implement guild stickersNadir Chowdhury2021-07-3016-85/+1119
|
* Fix user cache acting incorrectly with evictionsRapptz2021-07-298-8/+14
| | | | | | | | | | | | | | The first issue involved copied users which would lead to user updates causing faster evictions of the cache than was expected. The second issue involved users that weren't bound to an internal lifetime eviction policy. These users would not get evicted. For example, a user without mutual guilds or being part of the internal cache in general (messages, DMs) would never end up being evicted for some strange reason. To handle this case, store_user would get a counterpart named create_user which would create a user without potentially storing them in the cache. That way only users with a bound lifetime within the library would be stored.
* Add Guild.get_channel_or_thread helper methodRapptz2021-07-291-0/+18
| | | | The name might change in the future, unsure.
* [commands] Check for ctx.guild instead of abc.GuildChannelRapptz2021-07-281-2/+2
|