Soheab_
070ae24d8d
Document all limits in discord.ui
1 year ago
Rapptz
914773d0fb
Remove trailing whitespace
2 years ago
yvqc
6b6cbc44ce
Fix TextInput's is_persistent() flow
2 years ago
Trevor
5009c83bc9
Implement New Select Types
Co-authored-by: Soheab_ <[email protected] >
Co-authored-by: rdrescher909 <[email protected] >
Co-authored-by: Danny <[email protected] >
2 years ago
Ionite
6981eb69c4
Normalize type formatting in TypeError
Normalize most mixed usages of `__class__`, `__class__!r`,
`__class__.__name__!r` to the standard form of
`__class__.__name__`
3 years ago
Rapptz
cdce8fae5b
Change ui.TextInput.value to not be Optional
3 years ago
Lilly Rose Berner
7267d18d9e
Improve component typing
3 years ago
NextChai
e7ce8b6b77
Add container operations documentation to TextInput
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
UltimateSppy765
6d494585f5
Correct documentation for TextInput.custom_id
3 years ago
Rapptz
934ab4151a
Mark state refresh methods as private with an underscore
People kept wondering what it is or what it does.
3 years ago
Rapptz
37d55c8ec4
Add TextInput.__str__ special method
Closes #7504
3 years ago
Josh
147948af9b
Use typing.Self throughout library
3 years ago
Nihaal Sangha
90cabd1673
Fix various typos
3 years ago
Rapptz
d01e73fca5
Document more uses of type ignore
3 years ago
Josh
6dbd40a8ef
Remove use of typing.Self from TextInput
3 years ago
Rapptz
e56f64218a
Rename default_value to default for TextInput
3 years ago
Rapptz
88b520b5ab
Reformat code using black
Segments where readability was hampered were fixed by appropriate
format skipping directives. New code should hopefully be black
compatible. The moment they remove the -S option is probably the moment
I stop using black though.
3 years ago
Josh
19c6687b55
Add support for Modal Interactions
3 years ago