Commit Graph

5306 Commits

Author SHA1 Message Date
z03h
d0863e056b Fix Select.required not being applied 2025-08-26 03:29:30 -04:00
Rapptz
748ab04674 Fix bounds for TextInput and Label generic
Fix #10280
2025-08-26 03:29:30 -04:00
Rapptz
7d2cb68f18 Version bump to v2.6.2 v2.6.2 2025-08-24 13:23:35 -04:00
lmaotrigine
b2a8a98e0e Add missing versionadded to some BaseView items 2025-08-24 13:23:06 -04:00
Rapptz
e1794dfab7 Revert "Add second generic parameter for view for DynamicItem"
This reverts commit d351953526.
2025-08-24 13:21:40 -04:00
Rapptz
1bf3e78a57 Version bump to v2.6.1 v2.6.1 2025-08-24 09:49:35 -04:00
Rapptz
cbe722b014 Fix Modal not raising when hitting the 5 item limit 2025-08-24 09:44:01 -04:00
Rapptz
52a23436fb Add changelog for v2.6.1 2025-08-24 09:30:07 -04:00
Rapptz
ec27e477b7 Change Modal inheritance to BaseView instead of View 2025-08-24 09:30:07 -04:00
Rapptz
d351953526 Add second generic parameter for view for DynamicItem 2025-08-24 09:15:56 -04:00
Rapptz
d6fe511404 [tasks] Log handled exceptions before sleeping
Fix #10276
2025-08-22 20:05:56 -04:00
Rapptz
a16c3ca743 Remove uses of deprecated Logger.warn method 2025-08-22 20:05:56 -04:00
Rapptz
112907a897 Flip if statement for wrapped ActionRow components in modals 2025-08-22 20:05:55 -04:00
Rapptz
1e6a281c07 Allow TextDisplay as a top-level component in modals 2025-08-22 20:05:55 -04:00
Rapptz
cb364ea113 Fallback to None for AuditLogAction.category 2025-08-22 20:05:55 -04:00
Rapptz
60fd97bfda Update total count tracking to always consider the wrapper object 2025-08-22 20:05:55 -04:00
DA344
735b033701 Add a swap method for dynamic item's dispatching 2025-08-22 20:05:55 -04:00
Rapptz
5333e7c737 Remove outdated comment 2025-08-20 06:52:44 -04:00
Rapptz
110ace0a4d Fix Section.accessory being MISSING 2025-08-20 06:51:16 -04:00
Sacul
f30375ddaa Fix note in button decorator in action row 2025-08-20 06:51:16 -04:00
Rapptz
5fbe5b0488 Move UnfurledMediaItem and MediaGalleryItem to interactions page 2025-08-19 21:10:13 -04:00
Rapptz
928e82b1af Use List[Component] in docs instead of spelling them all out 2025-08-19 21:10:13 -04:00
DA344
c3158127ff Fix Section.children and accessory's parent being None 2025-08-19 21:10:13 -04:00
Rapptz
15ba468064 Document Section.accessory as an attribute 2025-08-19 21:09:55 -04:00
Rapptz
44a44e938f Reformat entire project with ruff instead of black 2025-08-18 20:16:10 -04:00
Rapptz
3ef6272e07 Fix error with View.from_message when having multiple items 2025-08-18 19:04:19 -04:00
Rapptz
d58c055c5b Remove unused import 2025-08-18 15:07:44 -04:00
Rapptz
1bc330a48a Version bump for development 2025-08-18 15:07:05 -04:00
Rapptz
9845a53d3d Version bump to v2.6.0 v2.6.0 2025-08-18 15:00:51 -04:00
Rapptz
714df2cfde Add changelog for v2.6 2025-08-18 15:00:51 -04:00
Rapptz
5d49f11709 Remove View.from_dict typing 2025-08-18 15:00:51 -04:00
Rapptz
fc12a41cdf Run black 2025-08-18 14:49:32 -04:00
Rapptz
064cb7af71 Add View.total_children_count 2025-08-18 14:42:55 -04:00
Rapptz
f08c042217 Add content_length method to LayoutView and container items 2025-08-18 14:33:15 -04:00
Rapptz
e00bb0b0f3 Change info directive to note 2025-08-18 13:44:29 -04:00
Rapptz
13d1fbee58 Add more detail to what filenames are allowed in File.uri 2025-08-18 13:33:30 -04:00
Rapptz
76258d071a Add note for File.uri and ASCII only names 2025-08-18 13:27:18 -04:00
Rapptz
6f6d990195 Fix type error with ItemCallbackType 2025-08-18 07:13:50 -04:00
Rapptz
0c98251087 Move Locale.language_code documentation to where it belongs 2025-08-18 06:19:30 -04:00
Rapptz
4854c56d58 Allow discord.File in places where UnfurledMediaItem or str are allowed 2025-08-18 06:11:59 -04:00
Rapptz
98d2113cdd Hide interaction_check where it isn't really applicable 2025-08-18 05:05:05 -04:00
Rapptz
9ef5b054e5 Refactor total children count to an overrideable method 2025-08-18 04:49:20 -04:00
Rapptz
5887ce1430 Fix settings example not resetting option default state 2025-08-18 04:35:41 -04:00
Rapptz
2a69ac4ca8 Document difference between View and LayoutView 2025-08-18 04:34:24 -04:00
Rapptz
eb84d0dfcb Add example showcasing ui.Label in modals 2025-08-17 20:02:21 -04:00
Rapptz
22d6e8d0aa Add example showcasing how to do a settings panel 2025-08-17 19:48:18 -04:00
Rapptz
4be15b5616 Add example showcasing Container for Embed-like layouts 2025-08-16 06:18:36 -04:00
Rapptz
24d3a12117 Remove unused row parameter from TextDisplay 2025-08-16 06:18:36 -04:00
Rapptz
4f539b710f Fix type errors in all examples 2025-08-16 06:18:36 -04:00
Sacul
7e2ca02fd1 Add total_message_sent attribute to threads
Co-authored-by: Alex Nørgaard <Umbra@AbstractUmbra.dev>
Co-authored-by: dolfies <jeyalfie47@gmail.com>
2025-08-15 11:38:56 -04:00