Skip to content

Commit e199c8c

Browse files
style(pre-commit): auto fixes from pre-commit.com hooks
1 parent a1068fb commit e199c8c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

discord/ui/input_text.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,9 @@ def to_component_dict(self) -> InputTextComponentPayload:
238238
def refresh_state(self, data) -> None:
239239
self._input_value = data["value"]
240240

241-
def refresh_from_modal(self, interaction: Interaction, data: InputTextComponentPayload) -> None:
241+
def refresh_from_modal(
242+
self, interaction: Interaction, data: InputTextComponentPayload
243+
) -> None:
242244
return self.refresh_state(data)
243245

244246

discord/ui/select.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,9 @@ def refresh_state(self, interaction: Interaction | dict) -> None:
724724
self._selected_values = data.get("values", [])
725725
self._interaction = interaction
726726

727-
def refresh_from_modal(self, interaction: Interaction | dict, data: SelectMenuPayload) -> None:
727+
def refresh_from_modal(
728+
self, interaction: Interaction | dict, data: SelectMenuPayload
729+
) -> None:
728730
self._selected_values = data.get("values", [])
729731
self._interaction = interaction
730732

0 commit comments

Comments
 (0)