36 Commits (8d17aa23c958050ae0c04ae0dbfb1b49c1426a6e)

Author SHA1 Message Date
Bryan Forbes 1de3562f34
Fix partially uknown typing errors 2 years ago
Rapptz 40227f75de Fix select decorator type checking error 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 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
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
Varun J c26473d0eb
Fix views not being persistent if modifying custom_id after __init__ 3 years ago
Lilly Rose Berner 7267d18d9e
Improve component typing 3 years ago
Lilly Rose Berner 7ee15e1d68
Use typing.Literal for channel and component type annotation 3 years ago
Rapptz e515378076 Remove annotation on row property in subclasses 3 years ago
Rapptz 3215cb65e2 Raise if custom_id is not a str 3 years ago
Rapptz 968a1f366f Change View callback order to (self, interaction, item) 3 years ago
Rapptz 934ab4151a Mark state refresh methods as private with an underscore 3 years ago
Stocker 5aa696ccfa
Fix typing issues and improve typing completeness across the library 3 years ago
Rapptz 4c8b1f9abd Remove unused imports 3 years ago
Josh 147948af9b
Use typing.Self throughout library 3 years ago
Josh d409ddd227
Alter return-type of button/select decorators 3 years ago
Rapptz 88b520b5ab Reformat code using black 3 years ago
Josh 19c6687b55
Add support for Modal Interactions 3 years ago
Rapptz 3382d2e9e8 Update documentation on select limits 4 years ago
Lucas Hardt ca9b371982
Add support for discord.ui.Select.disabled 4 years ago
Rapptz 812bfbe6f9 Show Select.values more prominently in the documentation 4 years ago
Josh d001b9d0ee
[docs] Fix more references 4 years ago
Rapptz 47f2d04940 Allow passing Emoji in components 4 years ago
Rapptz 7c40e83d10 Ensure views added to Client.add_view are persistent views 4 years ago
Rapptz 09f0ed1fba Mention that rows are explicitly 0 indexed. 4 years ago
Rapptz 1b15772671 Allow assigning Select.options to refresh the select menu 4 years ago
Rapptz 7bd1211b36 Rework item grouping behaviour to take into consideration weights 4 years ago
Rapptz f321efd4de Default SelectOption.value to the label if not given 4 years ago
Rapptz ef9f61a933 Add support for select components 4 years ago