56 Commits (beeffdce966fb515328447ce2fe4e477c176ff1f)

Author SHA1 Message Date
DA344 e2cf721e9c
Fix container items having out of date internal state 8 months ago
Soheab_ 178ea664b2 Add missing required kwarg to all select classes 10 months ago
Soheab_ 944ffe93c7 Handle resolved data for modal components and types 10 months ago
Rapptz 44a44e938f Reformat entire project with ruff instead of black 11 months ago
Rapptz 3fb627d078 Add support for label components and select in modals 11 months ago
Rapptz 8c1886799d Don't recreate ItemCallbackType 11 months ago
DA344 50caa3c82c
Add support for components V2 11 months ago
Rapptz 8953938a53 Update Pyright to v1.1.394 1 year ago
Jun-Ah 준아 97ca618570
Fix incorrect Select max option condition 2 years ago
Josh 4e03b170ef
Update pyright version 2 years ago
Soheab_ 070ae24d8d
Document all limits in discord.ui 2 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
z03h e67d00502d
Fix View.from_message not creating other Selects 3 years ago
yvqc 6b6cbc44ce
Fix TextInput's is_persistent() flow 3 years ago
Bryan Forbes 1de3562f34
Fix partially uknown typing errors 3 years ago
Rapptz 40227f75de Fix select decorator type checking error 3 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
Ionite 6981eb69c4
Normalize type formatting in TypeError 4 years ago
chawkk6404 e62473a1b4
Fix incorrect docs in select menu min_values 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
Lilly Rose Berner 7267d18d9e
Improve component typing 4 years ago
Lilly Rose Berner 7ee15e1d68
Use typing.Literal for channel and component type annotation 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
Rapptz 968a1f366f Change View callback order to (self, interaction, item) 4 years ago
Rapptz 934ab4151a Mark state refresh methods as private with an underscore 4 years ago
Stocker 5aa696ccfa
Fix typing issues and improve typing completeness across the library 4 years ago
Rapptz 4c8b1f9abd Remove unused imports 4 years ago
Josh 147948af9b
Use typing.Self throughout library 4 years ago
Josh d409ddd227
Alter return-type of button/select decorators 4 years ago
Rapptz 88b520b5ab Reformat code using black 4 years ago
Josh 19c6687b55
Add support for Modal Interactions 4 years ago
Rapptz 3382d2e9e8 Update documentation on select limits 5 years ago
Lucas Hardt ca9b371982
Add support for discord.ui.Select.disabled 5 years ago
Rapptz 812bfbe6f9 Show Select.values more prominently in the documentation 5 years ago
Josh d001b9d0ee
[docs] Fix more references 5 years ago
Rapptz 47f2d04940 Allow passing Emoji in components 5 years ago