Skip to content

Commit b322b42

Browse files
authored
correct
1 parent f13f5e0 commit b322b42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

discord/ui/designer_view.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def __init__(
165165
self.timeout = timeout
166166
self.disable_on_timeout = disable_on_timeout
167167
self.items: list[Item[V]] = []
168-
for item in items:
168+
for item in children:
169169
self.add_item(item)
170170

171171
loop = asyncio.get_running_loop()
@@ -325,7 +325,7 @@ def get_item(self, id: str | int) -> Item[V] | None:
325325
return child
326326

327327
__timeout_task_impl = View._View__timeout_task_impl
328-
_expires_at = view._expires_at
328+
_expires_at = View._expires_at
329329
_scheduled_task = View._scheduled_task
330330
_start_listening_from_store = View._start_listening_from_store
331331
_dispatch_timeout = View._dispatch_timeout

0 commit comments

Comments
 (0)