Browse Source

[docs] Fix typehint for Embed.set_(image,thumbnail)

pull/9932/head
lmaotrigine 7 months ago
committed by GitHub
parent
commit
8104ff2ad4
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      discord/embeds.py

6
discord/embeds.py

@ -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`.
"""

Loading…
Cancel
Save