Browse Source

[docs] Fix capitalization typo in spoiler parameter documentation

pull/7821/head
will 3 years ago
committed by GitHub
parent
commit
2010b42f6a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      discord/file.py

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

Loading…
Cancel
Save