mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-24 18:13:00 +00:00
[docs] Fix typehint for Embed.set_(image,thumbnail)
This commit is contained in:
@@ -413,8 +413,9 @@ class Embed:
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
url: :class:`str`
|
url: Optional[:class:`str`]
|
||||||
The source URL for the image. Only HTTP(S) is supported.
|
The source URL for the image. Only HTTP(S) is supported.
|
||||||
|
If ``None`` is passed, any existing image is removed.
|
||||||
Inline attachment URLs are also supported, see :ref:`local_image`.
|
Inline attachment URLs are also supported, see :ref:`local_image`.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@@ -457,8 +458,9 @@ class Embed:
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
url: :class:`str`
|
url: Optional[:class:`str`]
|
||||||
The source URL for the thumbnail. Only HTTP(S) is supported.
|
The source URL for the thumbnail. Only HTTP(S) is supported.
|
||||||
|
If ``None`` is passed, any existing thumbnail is removed.
|
||||||
Inline attachment URLs are also supported, see :ref:`local_image`.
|
Inline attachment URLs are also supported, see :ref:`local_image`.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user