4674 Commits
Author SHA1 Message Date
Rapptz 65232c3870 Reconnect the gateway with the default URL during 500s
Fix #10511
2026-09-01 05:17:34 -04:00
Niklas Mertsch 1add8a0b40 Fix DeprecationWarning in escape_markdown()
Using `count` as positional argument to `re.sub` is deprecated since
Python 3.13.

Fixes #10490
2026-07-22 09:52:00 -04:00
harumaki4649 188d32d632 Fix Message.edit suppress default 2026-07-10 22:00:05 -04:00
VOVOplay 1cc278dcdc Fixed grammar error for WebhookMessage.clean_content 2026-07-10 19:46:19 -04:00
harumaki4649 d2996be144 Fix nested UI item parent state 2026-07-10 19:37:41 -04:00
harumaki4649 f6dbb848d0 Validate message file upload limit 2026-07-10 19:37:13 -04:00
Sacul 34c66665dd Fix docs for role member counts to not mention manage_roles 2026-07-09 19:19:40 -04:00
Evanroby 97871a1b96 Fix typos in api reference docs 2026-07-09 19:11:19 -04:00
Michael 2f79a1336a Remove duplicate ForumChannel._flags slot and fix docstring 2026-07-09 19:10:40 -04:00
Steve C 05b56e02f7 Fix command/group call overloads with custom contexts 2026-07-08 16:25:18 -04:00
VOVOplay fc65f253f7 Fix typo in ui.RadioGroup.value docstring 2026-07-08 16:17:28 -04:00
Soheab 0481f62cca Fix being unable to set ui.Container colour to black 2026-07-08 16:15:59 -04:00
Michael H 7057cb10c0 Allow Greedy[X] | Y
Constructs a Union. Needs to be special instance behavior due to
`__class_getitem__` being implemented to return an instance not a type
or GenericAlias.
2026-07-08 16:15:06 -04:00
harumaki4649 cc00d56a22 Fixed item state management in the UI View
* Fix ActionRow add_item type validation
* Fix View item state tracking
* Fix View add and remove item state
* Add UI view item state tests
2026-07-08 16:14:41 -04:00
Oliver Ni f9c66a6a38 Fix heartbeat latency race between keepalive and event loop threads
Set _last_send on the event loop thread before sending so ack() can't
read a stale value from the previous heartbeat cycle.
2026-07-08 16:13:06 -04:00
Soheab f7868eaf23 Improve error from Webhook.from_url when passing client 2026-07-08 16:08:43 -04:00
Steve C bd2231bc99 Fix exception type in docstring for Reaction.clear 2026-07-08 16:08:06 -04:00
Sacul 8470bc8fd1 Document which components need to be in a Label 2026-07-08 16:07:46 -04:00
Steve C 81ebfd1e19 silence Pyright return-type warning for ws_connect 2026-07-08 16:06:58 -04:00
Michael d354614b10 Fix safety_alerts_channel typing not accepting None in Guild.edit() 2026-05-21 10:33:10 -04:00
Mikey Whiston 84f9877860 Fix comment about inspect replacing inspect 2026-04-14 21:32:09 -04:00
Jakub Kuczys 3270121c80 Use iscoroutinefunction from inspect instead of asyncio on 3.12+ 2026-04-14 14:46:19 -04:00
Rapptz 85144ec5e4 Fix ActionRow remove and add item not using Item.width 2026-04-14 13:19:40 -04:00
Jakub Kuczys f0195a5ffb Remove datetime.utcnow() use (deprecated since 3.12) 2026-04-14 12:37:51 -04:00
Pipythonmc dae0142554 Change the default 'required' value to True for all select variants
Fixes #10339
2026-04-14 12:32:31 -04:00
Rapptz 14b2c1afd3 Don't cache SoundboardSound when Intents.expressions is disabled 2026-03-14 11:29:44 -04:00
Jakub Kuczys 108e9abb52 Avoid AttributeError on AutoShardedClient.close() call before async setup 2026-03-04 16:01:50 -05:00
Rapptz 026a882d52 Raise context menu command limit to 15 to match Discord 2026-03-03 20:42:56 -05:00
Rapptz 41e6639bbc Version bump for development 2026-03-03 13:41:03 -05:00
Rapptz dfd1144b22 Version bump to v2.7.1 2026-03-03 13:38:56 -05:00
Rapptz 9cf04aec3c Add warning and raise if davey is not installed 2026-03-03 13:27:13 -05:00
Rapptz 2383467ccd Show davey version in --version output 2026-03-03 13:00:48 -05:00
₳Ⱡ₥Ø₲ 699a97f3eb Fix aiohttp websocket timeout deprecation warning 2026-03-02 15:11:04 -05:00
Rapptz b01de35fa2 Remove old workaround to /callback not having a return type
The old code needed a workaround using interaction_id to differentiate
between multiple instances being reused since they would all go into
the `None` key. Since /callback now returns a proper message_id this
could be used as a key instead of None. From testing, it seems this is
true for both edit_message and send_message responses.
2026-03-02 12:29:02 -05:00
Rapptz 616137875b Fix memory leak with the view store when removing items
The previous code would maintain items in the dispatch mapping if
nested children were removed between calls because it would only
remove items that are live in the view at the point of removal. This
meant that calling something like ActionRow.clear_items() would keep
all the removed items within the mapping and would not be evicted.

This attempts to fix it by maintaining a cache state snapshot and
making a diff between the two versions to know which keys are now safe
to delete since they are no longer in the live view at all.
2026-03-02 11:33:51 -05:00
Rapptz 9798e5921a Version bump for development 2026-02-27 13:49:41 -05:00
Rapptz 5df6e2230a Version bump to v2.7.0 2026-02-27 13:49:19 -05:00
Rapptz 198549822e Close websocket when reconnecting websocket during polling
Close #10409
2026-02-25 12:08:49 -05:00
levin 7f9c3b1b40 Fix FFmpeg errors not sent to after callback 2026-02-25 12:03:02 -05:00
Steve C 59d7a55a41 [tasks] Add overloads 2026-02-25 11:54:11 -05:00
Rapptz 79b709290c Add client parameter to PartialEmoji.from_str
Fix #10407
2026-02-24 09:47:10 -05:00
Rapptz ef1cb6a089 Prevent empty dictionaries from being added to the ViewStore
Fix #10405
2026-02-23 02:31:55 -05:00
Alex Nørgaard 8bad09e1d8 Add Discord timestamp converter and transformer 2026-02-22 22:13:10 -05:00
n6ck fd5a218d7c Add Message.is_forwardable to check if a message can be forwarded 2026-02-22 22:12:39 -05:00
Soheab 598a16e62f Add support for getting an integration's scopes 2026-02-22 17:29:20 -05:00
Rapptz f780f04447 Update last_send when receiving a HEARTBEAT request 2026-02-22 16:59:18 -05:00
Michael 38d5d8e47a Use walk_children within remove_view 2026-02-22 16:47:15 -05:00
Steve C 91f958cbac Add missing wait_for overloads for soundboard & voice effects 2026-02-22 16:46:24 -05:00
DA344 93fa3cb9d6 Fix (Sync)Webhook.edit_message missing the view parameter 2026-02-22 16:45:49 -05:00
Michael 46000f78c7 Add guild and user context to autocomplete logs 2026-02-22 16:43:44 -05:00