65 Commits (147948af9b345bde11781dd85a971a444b82bbe2)

Author SHA1 Message Date
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 d409ddd227
Alter return-type of button/select decorators 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 3 years ago
Josh 19c6687b55
Add support for Modal Interactions 3 years ago
Rapptz c22f058fa0 Fix views not being removed upon timeout 3 years ago
Rapptz 3382d2e9e8 Update documentation on select limits 4 years ago
Rapptz 0cc67e58ed Fallback to None message_id searches in View dispatch 4 years ago
Rapptz b87d306a70 Remove unused variable in view 4 years ago
Rapptz e795d341e7 Change View dispatch mechanism to be keyed by message_id as well 4 years ago
Lucas Hardt ca9b371982
Add support for discord.ui.Select.disabled 4 years ago
scrazzz a0e5e062c9
Add versionadded to ui.View and ui.Item 4 years ago
Kaylynn Morgan feed302269
Fix documentation note for interaction_check 4 years ago
Rapptz f153154b7a Undocument Item.width 4 years ago
Rapptz 8df35c83a9 Remove extraneous dict assignment from view store 4 years ago
Rapptz 074f34a5fa Specify View timeouts is in seconds 4 years ago
Rapptz 097b6064f1 Fix ui.Button constructor default style to match the decorator 4 years ago
Rapptz d7ed884593 Rework view timeouts to work as documented 4 years ago
Rapptz 9ac459b5d3 Add a default style for buttons 4 years ago
Rapptz 812bfbe6f9 Show Select.values more prominently in the documentation 4 years ago
jack1142 30605e6f4f
Add Select to list of types in Item's docstring 4 years ago
Josh d001b9d0ee
[docs] Fix more references 4 years ago
Rapptz c1f1c67eed Change timeout parameter in View.from_message to keyword only 4 years ago
Rapptz d8075d5412 Add View.from_message to convert message components to a View 4 years ago
Rapptz 157caaec7c Add conversion routine for SelectMenu to ui.Select 4 years ago
Nadir Chowdhury abac04b759
Fix link buttons not being regarded as persistent 4 years ago
Josh 233d10649c
[docs] Update Sphinx and Fix various references 4 years ago
Rapptz 1c640ad72b Lazily create Button custom_ids in decorator interface 4 years ago
Rapptz 04573c3c06 Make View timeout parameter keyword-only 4 years ago
UP929312 4724943861
Grammatical improvements in View documentation 4 years ago
Rapptz 81e9d70b7b Add pre-conditions to avoid on_timeout being called after stop() 4 years ago
Rapptz 876b1e0f3e Add View.on_error callback for swallowed exceptions 4 years ago
Rapptz dbd9ed2c41 Add View.is_dispatching to detect whether a view has been added 4 years ago
Rapptz 47f2d04940 Allow passing Emoji in components 4 years ago
Rapptz 78275023cc Add Client.persistent_views to get all persistent views 4 years ago
Rapptz 7c40e83d10 Ensure views added to Client.add_view are persistent views 4 years ago
Rapptz c811932ca7 Don't mark URL buttons as dispatchable 4 years ago
Rapptz 09f0ed1fba Mention that rows are explicitly 0 indexed. 4 years ago
Rapptz d0097c4281 Remove view syncing before editing in views 4 years ago
Rapptz 2ed3e049e1 Add View.is_finished() to query listening state 4 years ago
Rapptz 90a28d48d5 Fix potential KeyError when removing views 4 years ago
Rapptz c9cdb47338 Add __repr__ for View 4 years ago
Rapptz 1b15772671 Allow assigning Select.options to refresh the select menu 4 years ago
Rapptz 7bd1211b36 Rework item grouping behaviour to take into consideration weights 4 years ago
Rapptz c21d12be5e Check future state before setting result in View 4 years ago
Rapptz f321efd4de Default SelectOption.value to the label if not given 4 years ago
Rapptz f4fe247813 Remove __slots__ from View 4 years ago