28 Commits (v2.2.x)

Author SHA1 Message Date
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
z03h 53694724c1
Add emoji property to SelectOption 3 years ago
Lilly Rose Berner 7267d18d9e
Improve component typing 3 years ago
Rapptz 79d34fbe78 Change Select.type to use a Literal 3 years ago
Lilly Rose Berner 7ee15e1d68
Use typing.Literal for channel and component type annotation 3 years ago
jack1142 5ffa3e85de
Update comments after `# type: ignore` to be compatible with PEP 484 3 years ago
Stocker 5aa696ccfa
Fix typing issues and improve typing completeness across the library 3 years ago
Josh 147948af9b
Use typing.Self throughout library 3 years ago
Rapptz d01e73fca5 Document more uses of type ignore 3 years ago
Rapptz e56f64218a Rename default_value to default for TextInput 3 years ago
Rapptz a1e64dd657 Fix Sphinx build failing 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 feb0f7f29d Add SelectOption.__str__ 4 years ago
Rapptz 9f981e718b Mention the discord.ui types in the read-only component types 4 years ago
Josh 233d10649c
[docs] Update Sphinx and Fix various references 4 years ago
Rapptz 4b1059579e Fix NameError in missing _EmojiTag import 4 years ago
Rapptz 47f2d04940 Allow passing Emoji in components 4 years ago
Rapptz f321efd4de Default SelectOption.value to the label if not given 4 years ago
Rapptz b84c199c70 Allow constructing SelectOption.emoji from a string as well 4 years ago
Rapptz ff36aedf7b Add support for reading SelectMenu components from messages 4 years ago
Rapptz 8bd17ede47 Move ActionRow to its own separate type split from Component 4 years ago
Zomatree 6cc3e572ba
Button labels can be None 4 years ago
Rapptz cc56f31bcd Fix emoji not showing up in button component 4 years ago
Rapptz 98570793e4 Add initial support for buttons and components 4 years ago