mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 07:54:36 +00:00
Add missing underscore in Modal refresh method
This commit is contained in:
parent
934ab4151a
commit
3fd8f76c61
@ -174,7 +174,7 @@ class Modal(View):
|
||||
def _refresh(self, components: Sequence[ModalSubmitComponentInteractionDataPayload]) -> None:
|
||||
for component in components:
|
||||
if component['type'] == 1:
|
||||
self.refresh(component['components'])
|
||||
self._refresh(component['components'])
|
||||
else:
|
||||
item = find(lambda i: i.custom_id == component['custom_id'], self.children) # type: ignore
|
||||
if item is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user