33 Commits (master)

Author SHA1 Message Date
Rapptz c055fd32bb Fix ui.Button providing a custom_id for premium buttons 10 months ago
DA344 be9edf8deb
Remove setting sku_id explicitly via button decorator 10 months ago
DA344 356474ffb9
Add ButtonStyle.premium 10 months ago
Soheab_ 070ae24d8d
Document all limits in discord.ui 1 year ago
Ionite 6981eb69c4
Normalize type formatting in TypeError 3 years ago
Varun J c26473d0eb
Fix views not being persistent if modifying custom_id after __init__ 3 years ago
Lilly Rose Berner 7267d18d9e
Improve component typing 3 years ago
Lilly Rose Berner 7ee15e1d68
Use typing.Literal for channel and component type annotation 3 years ago
Rapptz e515378076 Remove annotation on row property in subclasses 3 years ago
Rapptz 3215cb65e2 Raise if custom_id is not a str 3 years ago
Rapptz 968a1f366f Change View callback order to (self, interaction, item) 3 years ago
Rapptz 934ab4151a Mark state refresh methods as private with an underscore 3 years ago
Stocker 5aa696ccfa
Fix typing issues and improve typing completeness across the library 3 years ago
Josh 147948af9b
Use typing.Self throughout library 3 years ago
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 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 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 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 4 years ago
Rapptz 98570793e4 Add initial support for buttons and components 4 years ago