mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 20:28:38 +00:00
Fix ui.Button constructor default style to match the decorator
This commit is contained in:
parent
17268c3368
commit
097b6064f1
@ -87,7 +87,7 @@ class Button(Item[V]):
|
|||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
style: ButtonStyle = ButtonStyle.primary,
|
style: ButtonStyle = ButtonStyle.secondary,
|
||||||
label: Optional[str] = None,
|
label: Optional[str] = None,
|
||||||
disabled: bool = False,
|
disabled: bool = False,
|
||||||
custom_id: Optional[str] = None,
|
custom_id: Optional[str] = None,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user