Browse Source

Add forgotten ..versionadded

pull/10109/head
dolfies 3 years ago
parent
commit
239956992e
  1. 2
      discord/file.py

2
discord/file.py

@ -62,6 +62,8 @@ class File:
a string then the ``filename`` will default to the string given.
description: Optional[:class:`str`]
The description (alt text) for the file.
.. versionadded:: 2.0
spoiler: :class:`bool`
Whether the attachment is a spoiler.
"""

Loading…
Cancel
Save