From 4932eb84eee54a45e17dd8c13069a1630e9f6fd2 Mon Sep 17 00:00:00 2001 From: Chiggy-Playz Date: Sun, 17 Oct 2021 00:45:31 +0530 Subject: [PATCH] Update button docs --- discord/ui/button.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/ui/button.py b/discord/ui/button.py index 4675eb6d..9c42cea4 100644 --- a/discord/ui/button.py +++ b/discord/ui/button.py @@ -60,7 +60,7 @@ class Button(Item[V]): 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. 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` Whether the button is disabled or not. label: Optional[:class:`str`]