181 Commits (9677dada1fbe22f495146ed3ea32dff774b7d047)

Author SHA1 Message Date
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
Bryan Forbes 1de3562f34
Fix partially uknown typing errors 4 years ago
Rapptz 40227f75de Fix select decorator type checking error 4 years ago
Takagi Tasuku f7e9795495
Call super for __init_subclass__ in View 4 years ago
Rapptz 6cb9a84898 Fix views not being removed from message store backing 4 years ago
Rapptz bbba8c650f Add missing generic parameters on various Interaction parameters 4 years ago
Alex Nørgaard c677ad0312
Add missing generic to interaction in item callback 4 years ago
Rapptz ed40d55f99 Fix overloads for select decorator 4 years ago
Zephyrkul 7cf3cd51a5
Revert "Infer select type from callback annotation 4 years ago
Zephyrkul b671958e11
Infer select type from callback annotation 4 years ago
cibere f61f7411df
Add setter method for ChannelSelect.channel_types 4 years ago
Trevor 5009c83bc9
Implement New Select Types 4 years ago
ster 95b6bd8782
Add coro tag to docstrings that were missing it 4 years ago
Ionite 6981eb69c4
Normalize type formatting in TypeError 4 years ago
chawkk6404 e62473a1b4
Fix incorrect docs in select menu min_values 4 years ago
Bryan Forbes b12b4b18fd
Mark public callbacks as positional-only 4 years ago
Rapptz 6327402730 Update View timeout only if interaction_check passes 4 years ago
Rapptz cdce8fae5b Change ui.TextInput.value to not be Optional 4 years ago
Rapptz ff1dd586d3 Always use last value as a fallback for Select.values 4 years ago
Mikey 9c38cf3aef
Fix ui.Select.values in modals 4 years ago
Mikey d826f4f3a8
Change ui.Select.values to a ContextVar to avoid race conditions 4 years ago
Varun J c26473d0eb
Fix views not being persistent if modifying custom_id after __init__ 4 years ago
Rapptz efdda635fb Fix View.from_message not respecting ActionRow row order 4 years ago
mniip 1be36c9c3e
Change View, Modal, and AudioPlayer to use logger instead of stderr 4 years ago
Lilly Rose Berner 7267d18d9e
Improve component typing 4 years ago
Server Bot 902aa245a4
Swap order of arguments in Modal.on_error 4 years ago
NextChai e7ce8b6b77
Add container operations documentation to TextInput 4 years ago
Lilly Rose Berner 7ee15e1d68
Use typing.Literal for channel and component type annotation 4 years ago
Rapptz a0dfdb9b1d Fix multiple view instances not dispatching in app commands responses 4 years ago
Rapptz e198a0e7e6 Avoid re-creating View children on edit 4 years ago
Willy 5456c0cae9
Add TextInput to Item docstring 4 years ago
Snaptraks 0fa9bfc925
Correct order of arguments in View.on_error 4 years ago
Omkaar 1e914e8945
Document Modal parameter limits 4 years ago
Rapptz c68ea67213 Properly handle inheritance overriding in View subclasses 4 years ago
Rapptz 1458251736 Change View.children to be a property 4 years ago
Kellen 0f18d93e47
Remove unused imports 4 years ago
Rapptz b4fbb08818 Allow runtime modification of timeout expiry at runtime 4 years ago
Rapptz e515378076 Remove annotation on row property in subclasses 4 years ago
Rapptz 3215cb65e2 Raise if custom_id is not a str 4 years ago