169 Commits (44a44e938fb2bd0bb085d8aa4577abeb01653ad3)

Author SHA1 Message Date
Rapptz 44a44e938f Reformat entire project with ruff instead of black 11 months ago
Rapptz 3ef6272e07 Fix error with View.from_message when having multiple items 11 months ago
Rapptz d58c055c5b Remove unused import 11 months ago
Rapptz 5d49f11709 Remove View.from_dict typing 11 months ago
Rapptz fc12a41cdf Run black 11 months ago
Rapptz 064cb7af71 Add View.total_children_count 11 months ago
Rapptz f08c042217 Add content_length method to LayoutView and container items 11 months ago
Rapptz 6f6d990195 Fix type error with ItemCallbackType 11 months ago
Rapptz 4854c56d58 Allow discord.File in places where UnfurledMediaItem or str are allowed 11 months ago
Rapptz 9ef5b054e5 Refactor total children count to an overrideable method 11 months ago
Rapptz 2a69ac4ca8 Document difference between View and LayoutView 11 months ago
Rapptz 24d3a12117 Remove unused row parameter from TextDisplay 11 months ago
Rapptz 4f539b710f Fix type errors in all examples 11 months ago
Soheab 13432591c6
Fix various docs around UI items 11 months ago
Rapptz 38c6407ffd Maintain a reference to View dispatched tasks 11 months ago
Rapptz 3fb627d078 Add support for label components and select in modals 11 months ago
Rapptz 9fb74fd7a1 Remove unnecessary TypeGuard 11 months ago
Rapptz 8c1886799d Don't recreate ItemCallbackType 11 months ago
DA344 50caa3c82c
Add support for components V2 11 months ago
Leonardo 7f16a06479
Copy Select options when creating View class 1 year ago
Rapptz 8953938a53 Update Pyright to v1.1.394 1 year ago
DA344 6ab747f9e5
Add support for sending views in stateless webhooks 1 year ago
Jun-Ah 준아 97ca618570
Fix incorrect Select max option condition 2 years ago
Rapptz c055fd32bb Fix ui.Button providing a custom_id for premium buttons 2 years ago
DA344 be9edf8deb
Remove setting sku_id explicitly via button decorator 2 years ago
DA344 356474ffb9
Add ButtonStyle.premium 2 years ago
Soheab 2248fc1946
Fix various code around Message.interaction(_metadata) 2 years ago
ナニカ dc6d33c303
copy over original row position for dynamic items 2 years ago
Josh 4e03b170ef
Update pyright version 2 years ago
Rapptz 76666fbcf4 Properly check for maximum number of children 2 years ago
Soheab_ 070ae24d8d
Document all limits in discord.ui 2 years ago
Rapptz 3258507b4a Call inner item callback and interaction_check by default 2 years ago
Rapptz de6a6af5d3 Fix DynamicItem row attribute being overridden 3 years ago
Rapptz 078b500657 Fix dynamic item views having a timeout causing it to evict 3 years ago
Lukas Vacula 3009c46080
Fix typo in documentation; "users" -> "roles" 3 years ago
Soheab_ 698363e76b
Refactor from_components for Select classes 3 years ago
Rapptz f617d01eee Refactor human_join into its own private helper function 3 years ago
Soheab_ d7f8a39a66
Remove duplicated doc for default_values kwarg for select decorator 3 years ago
Rapptz c115cfb0ac Remove unnecessary comments 3 years ago
Rapptz 7f7a0acd21 Fix GuildChannel subclasses not working with default select values 3 years ago
Soheab_ c5ecc42c72
Add support for default_values field on selects 3 years ago
Vaskel 5126323640
Add custom_id string to DynamicItem template regex error 3 years ago
z03h e67d00502d
Fix View.from_message not creating other Selects 3 years ago
Rapptz 94655cd804 Skip adding views to the synced message store if fully dynamic 3 years ago
Rapptz f793af0456 Add item parameter to DynamicItem.from_custom_id 3 years ago
Rapptz 7c3868ef3b Add Client.remove_dynamic_items 3 years ago
Rapptz a852f90358 Add support for dynamic items that parse custom_id for state 3 years ago
Rapptz 914773d0fb Remove trailing whitespace 3 years ago
yvqc 6b6cbc44ce
Fix TextInput's is_persistent() flow 3 years ago
Murtada Altarouti 9717317c78
Add missing import to modal example 3 years ago