Update button docs

This commit is contained in:
Chiggy-Playz 2021-10-17 00:45:31 +05:30
parent 2cc9d7b46c
commit 4932eb84ee

View File

@ -60,7 +60,7 @@ class Button(Item[V]):
The ID of the button that gets received during an interaction. The ID of the button that gets received during an interaction.
If this button is for a URL, it does not have a custom ID. If this button is for a URL, it does not have a custom ID.
url: Optional[:class:`str`] url: Optional[:class:`str`]
The URL this button sends you to. The URL this button sends you to. This param is automatically casted to :class:`str`.
disabled: :class:`bool` disabled: :class:`bool`
Whether the button is disabled or not. Whether the button is disabled or not.
label: Optional[:class:`str`] label: Optional[:class:`str`]