mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
[docs] Fix typehint for Embed.set_(image,thumbnail)
This commit is contained in:
@ -413,8 +413,9 @@ class Embed:
|
||||
|
||||
Parameters
|
||||
-----------
|
||||
url: :class:`str`
|
||||
url: Optional[:class:`str`]
|
||||
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`.
|
||||
"""
|
||||
|
||||
@ -457,8 +458,9 @@ class Embed:
|
||||
|
||||
Parameters
|
||||
-----------
|
||||
url: :class:`str`
|
||||
url: Optional[:class:`str`]
|
||||
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`.
|
||||
"""
|
||||
|
||||
|
Reference in New Issue
Block a user