mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-18 23:15:48 +00:00
[docs] Fix capitalization typo in spoiler parameter documentation
This commit is contained in:
parent
34b2ff40b6
commit
2010b42f6a
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user