mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 20:28:38 +00:00
[docs] Fix typehint for Embed.set_(image,thumbnail)
This commit is contained in:
parent
794f2bf149
commit
8104ff2ad4
@ -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`.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user