Fix links and Add format support

This commit is contained in:
Chiggy-Playz
2021-10-17 00:18:29 +05:30
parent 9c0c022a9c
commit 56b6ccd87e
2 changed files with 24 additions and 14 deletions

View File

@@ -117,7 +117,7 @@ class Button(Item[V]):
self._underlying = ButtonComponent._raw_construct(
type=ComponentType.button,
custom_id=custom_id,
url=url,
url=str(url) if url else None,
disabled=disabled,
label=label,
style=style,