Browse Source
[docs] Fix capitalization typo in spoiler parameter documentation
pull/7821/head
will
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
discord/file.py
|
|
@ -67,7 +67,7 @@ class File: |
|
|
|
To pass binary data, consider usage of ``io.BytesIO``. |
|
|
|
|
|
|
|
spoiler: :class:`bool` |
|
|
|
Whether the attachment is a spoiler. if left unspecified, the :attr:`~File.filename` is used |
|
|
|
Whether the attachment is a spoiler. If left unspecified, the :attr:`~File.filename` is used |
|
|
|
to determine if the file is a spoiler. |
|
|
|
description: Optional[:class:`str`] |
|
|
|
The file description to display, currently only supported for images. |
|
|
|