Rapptz
|
d0097c4281
|
Remove view syncing before editing in views
This prevents a potential race condition when a MESSAGE_UPDATE is
received syncing and refreshing the view components causing a desync.
|
2021-05-31 05:50:40 -04:00 |
|
Rapptz
|
2ed3e049e1
|
Add View.is_finished() to query listening state
|
2021-05-31 00:12:08 -04:00 |
|
Rapptz
|
90a28d48d5
|
Fix potential KeyError when removing views
|
2021-05-30 12:29:46 -04:00 |
|
Rapptz
|
c9cdb47338
|
Add __repr__ for View
|
2021-05-30 11:24:23 -04:00 |
|
Rapptz
|
7bd1211b36
|
Rework item grouping behaviour to take into consideration weights
This also renames `group` into `row`
|
2021-05-29 23:58:37 -04:00 |
|
Rapptz
|
c21d12be5e
|
Check future state before setting result in View
|
2021-05-29 05:52:05 -04:00 |
|
Rapptz
|
f4fe247813
|
Remove __slots__ from View
|
2021-05-28 08:39:34 -04:00 |
|
Rapptz
|
ef9f61a933
|
Add support for select components
|
2021-05-28 05:34:21 -04:00 |
|
Rapptz
|
263f45d05b
|
Fix View.wait not returning when it times out
This also makes it so it returns the reason why the wait finished.
|
2021-05-28 00:53:28 -04:00 |
|
Rapptz
|
3f60997630
|
Add a timeout callback for detecting when a View times out
|
2021-05-28 00:53:28 -04:00 |
|
Rapptz
|
97f308d219
|
Add View.remove_item and View.clear_items
|
2021-05-28 00:53:28 -04:00 |
|
Rapptz
|
3453992ce6
|
Add View.interaction_check for interaction pre-conditions
|
2021-05-28 00:53:28 -04:00 |
|
Rapptz
|
65db814d4a
|
Add a way to wait for a view to finish its interactions
|
2021-05-27 23:31:48 -04:00 |
|
Rapptz
|
fbafe20e51
|
Allow View to be instantiated without subclassing
|
2021-05-27 01:41:18 -04:00 |
|
Rapptz
|
7584834dd4
|
Only automatically defer if no response was given in callback
|
2021-05-27 00:53:14 -04:00 |
|
Rapptz
|
eda6680377
|
Rename enums to use official API naming
|
2021-05-27 00:53:14 -04:00 |
|
Rapptz
|
4c0ebc9221
|
Change the way callbacks are defined to allow deriving
This should hopefully make these work more consistently as other
functions do.
|
2021-05-27 00:53:14 -04:00 |
|
Rapptz
|
98570793e4
|
Add initial support for buttons and components
|
2021-05-27 00:53:13 -04:00 |
|