From 2010b42f6aadd5382f5eac43c4d06a0acbe8d967 Mon Sep 17 00:00:00 2001 From: will <33510837+danrfq@users.noreply.github.com> Date: Thu, 31 Mar 2022 21:21:08 +0700 Subject: [PATCH] [docs] Fix capitalization typo in spoiler parameter documentation --- discord/file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/file.py b/discord/file.py index f49b4618e..0366cee58 100644 --- a/discord/file.py +++ b/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.