aboutsummaryrefslogtreecommitdiff
path: root/discord/ui/button.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix ui.Button constructor default style to match the decoratorRapptz2021-07-031-1/+1
|
* Add a default style for buttonsRapptz2021-07-011-1/+1
| | | | | This makes it easier to create URL buttons since the library will automatically assign the proper style for it.
* Fix link buttons not being regarded as persistentNadir Chowdhury2021-06-291-0/+5
|
* [docs] Update Sphinx and Fix various referencesJosh2021-06-271-7/+7
| | | Co-Authored-By: Riley Shaw <[email protected]>
* Lazily create Button custom_ids in decorator interfaceRapptz2021-06-121-2/+0
| | | | | The previous code would make two separate instances share the custom_id which might have been undesirable behaviour
* Allow passing Emoji in componentsRapptz2021-06-021-10/+19
|
* Ensure views added to Client.add_view are persistent viewsRapptz2021-05-311-0/+1
|
* Don't mark URL buttons as dispatchableRapptz2021-05-311-1/+1
|
* Mention that rows are explicitly 0 indexed.Rapptz2021-05-311-2/+2
|
* Rework item grouping behaviour to take into consideration weightsRapptz2021-05-291-12/+18
| | | | This also renames `group` into `row`
* Add support for select componentsRapptz2021-05-281-1/+1
|
* Add PartialEmoji.from_str helperRapptz2021-05-281-22/+8
|
* Button labels can be NoneZomatree2021-05-271-10/+10
|
* Force button style to link if a URL is passedRapptz2021-05-271-0/+3
|
* Rename enums to use official API namingRapptz2021-05-271-1/+1
|
* Make Item and Button generic over the underlying viewRapptz2021-05-271-2/+3
|
* Change the way callbacks are defined to allow derivingRapptz2021-05-271-20/+13
| | | | | This should hopefully make these work more consistently as other functions do.
* Add initial support for buttons and componentsRapptz2021-05-271-0/+288