Skip to content

Commit 528eb3d

Browse files
authored
Update docstring for FileUpload class
Clarified the docstring to specify usage within Label class.
1 parent c342db8 commit 528eb3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

discord/ui/file_upload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454

5555
class FileUpload(Item[V]):
56-
"""Represents a file upload component within a modal.
56+
"""Represents a file upload component within a modal that can only be used in :class:`Label`.
5757
5858
.. versionadded:: 2.7
5959

0 commit comments

Comments
 (0)