diff --git a/discord/file.py b/discord/file.py index c0649d539..2d7260ff1 100644 --- a/discord/file.py +++ b/discord/file.py @@ -133,6 +133,12 @@ class File: @property def uri(self) -> str: """:class:`str`: Returns the ``attachment://`` URI for this file. + This is used in certain places such as embeds or components to refer + to an uploaded file via URL. + + .. info:: + Due to Discord's filename processing it can only reference files + that have fully ASCII filenames. .. versionadded:: 2.6 """