mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-07 17:39:03 +00:00
Add more detail to what filenames are allowed in File.uri
This commit is contained in:
1 parent
76258d071a
commit
13d1fbee58
1 file changed
+2
-2
+2
-2
@@ -137,8 +137,8 @@ class File:
|
||||
to an uploaded file via URL.
|
||||
|
||||
.. info::
|
||||
Due to Discord's filename processing it can only reference files
|
||||
that have fully ASCII filenames.
|
||||
Due to Discord's filename processing, the filename must be ASCII aphanumeric
|
||||
with underscores, dashes, and periods.
|
||||
|
||||
.. versionadded:: 2.6
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user