Skip to content

Commit 9c42603

Browse files
committed
ahh! nobody look! my shitty debug code!
1 parent 590a7a2 commit 9c42603

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

discord/ui/modal.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -418,12 +418,8 @@ async def dispatch(self, user_id: int, custom_id: str, interaction: Interaction)
418418
# match component by id
419419
for component in components:
420420
item = value.get_item(component.get("custom_id") or component.get("id"))
421-
print(component, item)
422421
if item is not None:
423422
item.refresh_from_modal(interaction, component)
424-
425-
# for component, child in zip(components, value.children):
426-
# child.refresh_from_modal(interaction, component)
427423
await value.callback(interaction)
428424
self.remove_modal(value, user_id)
429425
except Exception as e:

0 commit comments

Comments
 (0)