b4fbb08818
Allow runtime modification of timeout expiry at runtime
...
This is done through setting View.timeout while it's running
2022-03-31 01:54:13 -04:00
26457b6d50
Remove automatic defer behaviour from View and Modal
...
This doesn't make as much sense anymore now that
InteractionResponse.edit_message exists.
2022-03-15 10:30:19 -04:00
3fd8f76c61
Add missing underscore in Modal refresh method
2022-03-14 21:00:39 -04:00
934ab4151a
Mark state refresh methods as private with an underscore
...
People kept wondering what it is or what it does.
2022-03-14 07:50:25 -04:00
5aa696ccfa
Fix typing issues and improve typing completeness across the library
...
Co-authored-by: Danny <Rapptz@users.noreply.github.com >
Co-authored-by: Josh <josh.ja.butt@gmail.com >
2022-03-13 23:52:10 -04:00
87415ab5a7
Fix modal docs code block warning
2022-03-06 19:16:23 -05:00
6788ec2533
Add docstring example for ui.Modal
2022-03-06 18:29:38 -05:00
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.
2022-02-20 08:04:58 -05:00
19c6687b55
Add support for Modal Interactions
2022-02-20 04:57:44 -05:00