149 Commits (master)

Author SHA1 Message Date
Rapptz 8953938a53 Update Pyright to v1.1.394 2 months ago
DA344 6ab747f9e5
Add support for sending views in stateless webhooks 2 months ago
Jun-Ah 준아 97ca618570
Fix incorrect Select max option condition 9 months ago
Rapptz c055fd32bb Fix ui.Button providing a custom_id for premium buttons 10 months ago
DA344 be9edf8deb
Remove setting sku_id explicitly via button decorator 10 months ago
DA344 356474ffb9
Add ButtonStyle.premium 10 months ago
Soheab 2248fc1946
Fix various code around Message.interaction(_metadata) 11 months ago
ナニカ dc6d33c303
copy over original row position for dynamic items 12 months ago
Josh 4e03b170ef
Update pyright version 1 year ago
Rapptz 76666fbcf4 Properly check for maximum number of children 1 year ago
Soheab_ 070ae24d8d
Document all limits in discord.ui 1 year ago
Rapptz 3258507b4a Call inner item callback and interaction_check by default 1 year ago
Rapptz de6a6af5d3 Fix DynamicItem row attribute being overridden 1 year ago
Rapptz 078b500657 Fix dynamic item views having a timeout causing it to evict 1 year ago
Lukas Vacula 3009c46080
Fix typo in documentation; "users" -> "roles" 1 year ago
Soheab_ 698363e76b
Refactor from_components for Select classes 2 years ago
Rapptz f617d01eee Refactor human_join into its own private helper function 2 years ago
Soheab_ d7f8a39a66
Remove duplicated doc for default_values kwarg for select decorator 2 years ago
Rapptz c115cfb0ac Remove unnecessary comments 2 years ago
Rapptz 7f7a0acd21 Fix GuildChannel subclasses not working with default select values 2 years ago
Soheab_ c5ecc42c72
Add support for default_values field on selects 2 years ago
Vaskel 5126323640
Add custom_id string to DynamicItem template regex error 2 years ago
z03h e67d00502d
Fix View.from_message not creating other Selects 2 years ago
Rapptz 94655cd804 Skip adding views to the synced message store if fully dynamic 2 years ago
Rapptz f793af0456 Add item parameter to DynamicItem.from_custom_id 2 years ago
Rapptz 7c3868ef3b Add Client.remove_dynamic_items 2 years ago
Rapptz a852f90358 Add support for dynamic items that parse custom_id for state 2 years ago
Rapptz 914773d0fb Remove trailing whitespace 2 years ago
yvqc 6b6cbc44ce
Fix TextInput's is_persistent() flow 2 years ago
Murtada Altarouti 9717317c78
Add missing import to modal example 2 years ago
Bryan Forbes 1de3562f34
Fix partially uknown typing errors 2 years ago
Rapptz 40227f75de Fix select decorator type checking error 2 years ago
Takagi Tasuku f7e9795495
Call super for __init_subclass__ in View 2 years ago
Rapptz 6cb9a84898 Fix views not being removed from message store backing 2 years ago
Rapptz bbba8c650f Add missing generic parameters on various Interaction parameters 2 years ago
Alex Nørgaard c677ad0312
Add missing generic to interaction in item callback 2 years ago
Rapptz ed40d55f99 Fix overloads for select decorator 2 years ago
Zephyrkul 7cf3cd51a5
Revert "Infer select type from callback annotation 2 years ago
Zephyrkul b671958e11
Infer select type from callback annotation 2 years ago
cibere f61f7411df
Add setter method for ChannelSelect.channel_types 2 years ago
Trevor 5009c83bc9
Implement New Select Types 2 years ago
ster 95b6bd8782
Add coro tag to docstrings that were missing it 3 years ago
Ionite 6981eb69c4
Normalize type formatting in TypeError 3 years ago
chawkk6404 e62473a1b4
Fix incorrect docs in select menu min_values 3 years ago
Bryan Forbes b12b4b18fd
Mark public callbacks as positional-only 3 years ago
Rapptz 6327402730 Update View timeout only if interaction_check passes 3 years ago
Rapptz cdce8fae5b Change ui.TextInput.value to not be Optional 3 years ago
Rapptz ff1dd586d3 Always use last value as a fallback for Select.values 3 years ago
Mikey 9c38cf3aef
Fix ui.Select.values in modals 3 years ago
Mikey d826f4f3a8
Change ui.Select.values to a ContextVar to avoid race conditions 3 years ago