diff --git a/discord/embeds.py b/discord/embeds.py index 7d434a537..7ba404e56 100644 --- a/discord/embeds.py +++ b/discord/embeds.py @@ -362,6 +362,7 @@ class Embed: The footer text. Can only be up to 2048 characters. icon_url: :class:`str` The URL of the footer icon. Only HTTP(S) is supported. + Inline attachment URLs are also supported, see :ref:`local_image`. """ self._footer = {} @@ -414,6 +415,7 @@ class Embed: ----------- url: :class:`str` The source URL for the image. Only HTTP(S) is supported. + Inline attachment URLs are also supported, see :ref:`local_image`. """ if url is None: @@ -457,6 +459,7 @@ class Embed: ----------- url: :class:`str` The source URL for the thumbnail. Only HTTP(S) is supported. + Inline attachment URLs are also supported, see :ref:`local_image`. """ if url is None: @@ -522,6 +525,7 @@ class Embed: The URL for the author. icon_url: :class:`str` The URL of the author icon. Only HTTP(S) is supported. + Inline attachment URLs are also supported, see :ref:`local_image`. """ self._author = { diff --git a/docs/faq.rst b/docs/faq.rst index 9e2a6228c..234c45cc3 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -316,6 +316,8 @@ Quick example: See `aiohttp's full documentation `_ for more information. +.. _local_image: + How do I use a local image file for an embed image? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~