Commit Graph
4665 Commits
Author SHA1 Message Date
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
Sacul 0ace5f8b51 Document new timestamp format style 2025-11-07 18:56:24 -05:00
DA344 e2cf721e9c Fix container items having out of date internal state 2025-11-07 18:53:04 -05:00
Sacul 8f2cb60700 Fix inaccurate total_children_count property in modals 2025-10-28 07:51:15 -04:00
beerpsi 62cb74b7d8 Do not assume Python 3.14 has compression.zstd 2025-10-28 07:50:33 -04:00
Sacul 055885100d Fix default value for reason parameter in delete_invite 2025-10-28 07:49:25 -04:00
Rapptz ab8195bbd3 Add support for role member counts 2025-10-16 02:23:49 -04:00
Rapptz c58b973c7e Add animated=true parameter to animated emoji 2025-10-14 17:33:49 -04:00
Rapptz 9c327df45a Use webp as the default emoji URL format
Fix #10331
2025-10-14 17:20:32 -04:00
Rapptz 6d19bc763c [commands] Fix flag annotations not working under 3.14 2025-10-14 17:16:43 -04:00
beerpsi 463becb7ed Use compression.zstd for gateway compression on Python 3.14 2025-10-08 17:33:29 -04:00
Rapptz e2b6fa8370 Use obj reference target instead of data for typing objects 2025-10-08 17:31:24 -04:00
Rapptz 88294fe352 Fix Section.accessory setter not updating view bindings 2025-10-08 08:52:11 -04:00
Rapptz 651699fcd2 Remove buggy and unintentional Container.children setter 2025-10-05 02:45:23 -04:00
Sacul c7575d9f21 Fix docstrings for version added in Member.edit 2025-10-01 23:43:44 -04:00
Rapptz 8f90b7d534 Add shoutout to Button and Thumbnail accessories for Section 2025-09-28 16:07:30 -04:00
Soheab_ d78636283b Correct supported types in docs for modal components 2025-09-28 16:06:17 -04:00
Soheab_ 178ea664b2 Add missing required kwarg to all select classes 2025-09-28 16:06:17 -04:00
Soheab_ 2d7e0614ad Add support for File Upload component 2025-09-28 16:06:17 -04:00
Soheab_ 944ffe93c7 Handle resolved data for modal components and types 2025-09-28 16:06:17 -04:00
Soheab_ 1d3642d1fe Fix KeyError on custom_id for modal components that don't support it 2025-09-28 16:06:17 -04:00
Rapptz 830858cde8 Add MessageType.is_deletable to fix Messageable.purge failing
Fix #10319
2025-09-28 13:17:54 -04:00
Rapptz 78ff16621a Fix certain component IDs not being able to be settable afterwards
Fix #10305
2025-09-28 13:05:23 -04:00
Sacul c050ed02c3 Support new fields in Modify Current Member 2025-09-28 12:54:54 -04:00
Sacul 46300dfc62 Add missing reason kwarg in delete_invite 2025-09-28 12:36:24 -04:00
Levi Pesin 6ad5541573 Add missing InviteType and ReactionType exports 2025-09-28 12:32:52 -04:00
Martin b837d94d1a Add silent parameter to ForumChannel.create_thread 2025-09-28 12:15:11 -04:00
Soheab a2a228105b Fix various TypeDicts for Unpack 2025-09-28 12:03:50 -04:00
Steve C bd329b1515 Add support for emoji_added message type 2025-09-03 05:34:13 -04:00
Sacul fe4bf87b23 Add channel attribute to automod quarantine user AuditLogAction 2025-09-03 05:33:41 -04:00
Lucas Hardt a7f349498a Upgrade code by using f-strings and yield from 2025-09-03 05:31:59 -04:00
Steve C 3f47698791 All __all__ to primary_guilds module 2025-09-03 05:01:50 -04:00
Sacul 44956db033 Update modal example in docstring 2025-09-02 17:05:50 -04:00
Rapptz 25a4dbe86a Remove id from LabelComponent.__repr__ 2025-08-31 16:00:59 -04:00
Rapptz 89d5cbd78a Move v2 item check from BaseView to View 2025-08-31 14:18:50 -04:00
Rapptz 2f1f5fe2e2 Revert "Fix context install decorators to correctly restrict commands"
This reverts commit ce9f5ad1ba.
2025-08-26 21:12:03 -04:00
Rapptz 116107d7ed Add accessory to Section.__repr__ 2025-08-26 11:54:18 -04:00
Sacul 7c52dbdba0 Fix spelling mistake in LabelComponent slots 2025-08-26 11:34:23 -04:00
Soheab cbff6ddef9 Add support for user collectibles 2025-08-26 03:34:18 -04:00
z03h 69f06c9456 Fix Select.required not being applied 2025-08-25 23:24:37 -04:00
Rapptz d5946d1cbc Fix bounds for TextInput and Label generic
Fix #10280
2025-08-25 11:29:44 -04:00