5301 Commits

Author SHA1 Message Date
Rapptz
fe7ce982f3 Add second generic parameter for view for DynamicItem 2025-08-24 09:12:12 -04:00
Rapptz
ab6efd02bc [tasks] Log handled exceptions before sleeping
Fix #10276
2025-08-22 19:59:56 -04:00
Rapptz
d00ac622bc Remove uses of deprecated Logger.warn method 2025-08-22 19:52:12 -04:00
Rapptz
6d5013030b Flip if statement for wrapped ActionRow components in modals 2025-08-22 19:28:37 -04:00
Rapptz
de09031899 Allow TextDisplay as a top-level component in modals 2025-08-22 19:18:33 -04:00
Rapptz
0b7d30bbe3 Fallback to None for AuditLogAction.category 2025-08-22 19:14:01 -04:00
Rapptz
9bda89b0d6 Update total count tracking to always consider the wrapper object 2025-08-21 22:20:12 -04:00
DA344
0309aac335
Add a swap method for dynamic item's dispatching 2025-08-20 18:52:31 -04:00
Steve C
b2aab86ba1
Add typing-extensions to lint workflow 2025-08-20 18:34:51 -04:00
Thanos
d897027c21
Create .git-blame-ignore-revs 2025-08-20 18:34:17 -04:00
Rapptz
20f4bc40ad Remove outdated comment 2025-08-20 06:53:03 -04:00
Rapptz
59e28af19f Fix Section.accessory being MISSING 2025-08-20 06:50:23 -04:00
Sacul
27d69e98e2
Fix note in button decorator in action row 2025-08-20 04:04:50 -04:00
Rapptz
8f83267ce9 Move UnfurledMediaItem and MediaGalleryItem to interactions page 2025-08-19 21:09:09 -04:00
Rapptz
283ed20956 Use List[Component] in docs instead of spelling them all out 2025-08-19 20:55:02 -04:00
DA344
24aa98b923
Fix Section.children and accessory's parent being None 2025-08-19 20:50:57 -04:00
Rapptz
9dbf13c2f9 Document Section.accessory as an attribute 2025-08-19 04:25:29 -04:00
Rapptz
a5a4bcf61b Update Permissions.manage_messages docstring 2025-08-19 04:09:21 -04:00
Rapptz
ad48815926 Add Permissions.pin_messages 2025-08-19 04:04:09 -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
Rapptz
08ef967371 Typecheck when constructing MediaGalleryItem 2025-08-15 08:11:13 -04:00
Soheab
983a9b8f94
Use Unpack where it's possible 2025-08-15 05:36:36 -04:00
Soheab
13432591c6
Fix various docs around UI items
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2025-08-14 12:00:09 -04:00
Sacul
4839036eea
Add missing guild features in types.guild 2025-08-14 11:44:41 -04:00
Soti
773fcc83df
Remove outdated note about having to delete owned guild 2025-08-14 11:43:50 -04:00