[docs] Fix capitalization typo in spoiler parameter documentation

This commit is contained in:
will 2022-03-31 21:21:08 +07:00 committed by GitHub
parent 34b2ff40b6
commit 2010b42f6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.