Commit Graph
4655 Commits
Author SHA1 Message Date
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
Soheab e5263c0870 Add support for new modal components 2026-02-22 16:43:06 -05:00
Steve C dae46f7d0f Add generics to Interaction params 2026-02-22 15:59:46 -05:00
Sacul e45c8e60e1 Add bypass slowmode permissions 2026-02-22 15:53:02 -05:00
Soheab 680ca5ee20 Add command_id and custom_id attributes to Interaction 2026-02-22 15:02:14 -05:00
Rapptz 2f1c3fde7b Fix Message.call raising an attribute error when accessed
Fix #10404
2026-02-18 22:27:23 -05:00
Rapptz 103fe90d8b [commands] Fix decorator order mattering for hybrid commands 2026-02-05 09:18:07 -05:00
Rapptz a7d42b9906 Fallback to Item.row when converting to Modal component list
Fix #10397
2026-02-04 18:57:04 -05:00
Rapptz 3ab09be13c Invert View.is_finished condition when there is no associated Future 2026-01-28 16:58:55 -05:00
Quintenvw c8b95774cb Change join thread endpoint from POST to PUT 2026-01-14 06:10:36 -05:00
Michael bcea13e993 Allow ui.View initialization without a running event loop 2026-01-13 18:08:53 -05:00
Rapptz b9b21ca270 [commands] Fix Context.from_interaction derived Message.type
The previous Message.type when accessed from Context would be an
unknown enum type because the enum was double nested when the proper
type expected by the synthetic payload was an int not an enum.

Fix #10382
2026-01-11 08:02:50 -05:00
Rapptz 1df81fea52 [commands] Mark Cog check special methods as MaybeCoro return
Fix #10354
2026-01-08 08:17:43 -05:00
Snazzah bd37844be7 Add DAVE protocol support 2026-01-07 16:05:46 -05:00
Rapptz 0052878983 Guard against Item.view being None when dispatching 2025-12-21 12:18:05 -05:00
Sacul 9be91cb093 Optimise utils.find and specialise utils.as_chunks 2025-11-18 19:51:27 -05:00
Rapptz c342db8534 [commands] Fix flag annotations in 3.14 using annotationlib
Fix #10349
2025-11-12 20:22:45 -05:00
Soheab 9580898c97 Detach view from item when removed 2025-11-12 20:02:19 -05:00
n6ck b77459a4df Change description to be optional when creating emoji 2025-11-11 22:52:54 -05:00
Michael H 8b15475496 [Zstandard] Decompress even when discord doesn't encode size information 2025-11-07 18:57:01 -05:00