[docs] Fix capitalization typo in spoiler parameter documentation

This commit is contained in:
will authored and GitHub committed 2022-03-31 10:21:08 -04:00
1 parent 34b2ff40b6
commit 2010b42f6a
1 file changed
+1 -1
+1 -1
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.