Josh
|
d409ddd227
|
Alter return-type of button/select decorators
|
3 years ago |
Rapptz
|
097b6064f1
|
Fix ui.Button constructor default style to match the decorator
|
4 years ago |
Rapptz
|
9ac459b5d3
|
Add a default style for buttons
This makes it easier to create URL buttons since the library will
automatically assign the proper style for it.
|
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
Co-Authored-By: Riley Shaw <[email protected]>
|
4 years ago |
Rapptz
|
1c640ad72b
|
Lazily create Button custom_ids in decorator interface
The previous code would make two separate instances share the custom_id
which might have been undesirable behaviour
|
4 years ago |
Rapptz
|
47f2d04940
|
Allow passing Emoji in components
|
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
|
7bd1211b36
|
Rework item grouping behaviour to take into consideration weights
This also renames `group` into `row`
|
4 years ago |
Rapptz
|
ef9f61a933
|
Add support for select components
|
4 years ago |
Rapptz
|
6874aa73c4
|
Add PartialEmoji.from_str helper
|
4 years ago |
Zomatree
|
6cc3e572ba
|
Button labels can be None
|
4 years ago |
Rapptz
|
5e96ad9261
|
Force button style to link if a URL is passed
|
4 years ago |
Rapptz
|
eda6680377
|
Rename enums to use official API naming
|
4 years ago |
Rapptz
|
ed9badcddf
|
Make Item and Button generic over the underlying view
|
4 years ago |
Rapptz
|
4c0ebc9221
|
Change the way callbacks are defined to allow deriving
This should hopefully make these work more consistently as other
functions do.
|
4 years ago |
Rapptz
|
98570793e4
|
Add initial support for buttons and components
|
4 years ago |