Skip to content

Commit 3c4bcb8

Browse files
plun1331Soheab
andauthored
Apply suggestion from @Soheab
Co-authored-by: Soheab <[email protected]> Signed-off-by: plun1331 <[email protected]>
1 parent a76208a commit 3c4bcb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

discord/ui/file_upload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,12 @@ def type(self) -> ComponentType:
108108

109109
@property
110110
def id(self) -> int | None:
111-
"""The file upload's ID. If not provided by the user, it is set sequentially by Discord."""
111+
"""The ID of this component. If not provided by the user, it is set sequentially by Discord."""
112112
return self._underlying.id
113113

114114
@property
115115
def custom_id(self) -> str:
116-
"""The ID of the file upload field that gets received during an interaction."""
116+
"""The custom id that gets received during an interaction."""
117117
return self._underlying.custom_id
118118

119119
@custom_id.setter

0 commit comments

Comments
 (0)