Mikey
9c38cf3aef
Fix ui.Select.values in modals
3 years ago
mniip
1be36c9c3e
Change View, Modal, and AudioPlayer to use logger instead of stderr
3 years ago
Server Bot
902aa245a4
Swap order of arguments in Modal.on_error
3 years ago
Omkaar
1e914e8945
Document Modal parameter limits
3 years ago
Rapptz
1458251736
Change View.children to be a property
This allows users to call remove_item in a loop. Likewise, it prevents
the footgun of doing children.append(...) which does not uphold the
invariants with the weight system.
3 years ago
Kellen
0f18d93e47
Remove unused imports
3 years ago
Rapptz
b4fbb08818
Allow runtime modification of timeout expiry at runtime
This is done through setting View.timeout while it's running
3 years ago
Rapptz
26457b6d50
Remove automatic defer behaviour from View and Modal
This doesn't make as much sense anymore now that
InteractionResponse.edit_message exists.
3 years ago
Narmy
3fd8f76c61
Add missing underscore in Modal refresh method
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
Stocker
5aa696ccfa
Fix typing issues and improve typing completeness across the library
Co-authored-by: Danny <[email protected] >
Co-authored-by: Josh <[email protected] >
3 years ago
Sebastian Law
87415ab5a7
Fix modal docs code block warning
3 years ago
Pawnyy
6788ec2533
Add docstring example for ui.Modal
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