We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a76208a commit 3c4bcb8Copy full SHA for 3c4bcb8
discord/ui/file_upload.py
@@ -108,12 +108,12 @@ def type(self) -> ComponentType:
108
109
@property
110
def id(self) -> int | None:
111
- """The file upload's ID. If not provided by the user, it is set sequentially by Discord."""
+ """The ID of this component. If not provided by the user, it is set sequentially by Discord."""
112
return self._underlying.id
113
114
115
def custom_id(self) -> str:
116
- """The ID of the file upload field that gets received during an interaction."""
+ """The custom id that gets received during an interaction."""
117
return self._underlying.custom_id
118
119
@custom_id.setter
0 commit comments