mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-08-23 19:56:19 +00:00
Add more detail to what filenames are allowed in File.uri
This commit is contained in:
parent
76258d071a
commit
13d1fbee58
@ -137,8 +137,8 @@ class File:
|
|||||||
to an uploaded file via URL.
|
to an uploaded file via URL.
|
||||||
|
|
||||||
.. info::
|
.. info::
|
||||||
Due to Discord's filename processing it can only reference files
|
Due to Discord's filename processing, the filename must be ASCII aphanumeric
|
||||||
that have fully ASCII filenames.
|
with underscores, dashes, and periods.
|
||||||
|
|
||||||
.. versionadded:: 2.6
|
.. versionadded:: 2.6
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user