Skip to content

Commit a903005

Browse files
committed
oh god more debug code
1 parent a00d79e commit a903005

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

discord/ui/file_upload.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ def __init__(
8787
self._underlying: FileUploadComponent = FileUploadComponent._raw_construct(
8888
type=ComponentType.file_upload,
8989
custom_id=custom_id,
90-
label=label,
9190
min_values=min_values,
9291
max_values=max_values,
9392
required=required,
@@ -170,7 +169,6 @@ def values(self) -> list[Attachment] | None:
170169
return None
171170
attachments = []
172171
for attachment_id in self._values:
173-
print(attachment_id)
174172
attachment_data = self._interaction.data["resolved"]["attachments"][
175173
attachment_id
176174
]
@@ -187,7 +185,6 @@ def to_component_dict(self) -> FileUploadComponentPayload:
187185
return self._underlying.to_dict()
188186

189187
def refresh_from_modal(self, interaction: Interaction, data: dict) -> None:
190-
print(data)
191188
self._interaction = interaction
192189
self._values = data.get("values", [])
193190

0 commit comments

Comments
 (0)