diff --git a/src/pycord_reactive_views/components.py b/src/pycord_reactive_views/components.py index d386d96..a6f7294 100644 --- a/src/pycord_reactive_views/components.py +++ b/src/pycord_reactive_views/components.py @@ -75,7 +75,7 @@ class ReactiveSelect(discord.ui.Select, Reactive): # pyright: ignore[reportUnsa disabled: MaybeReactiveValue[bool] = False, row: MaybeReactiveValue[int | None] = None, ) -> None: - discord.ui.Select.__init__(self) # pyright: ignore [reportUnknownMemberType, reportArgumentType] + discord.ui.Select.__init__(self) # pyright: ignore [reportUnknownMemberType] Reactive.__init__(self) self.add_reactive("placeholder", placeholder) self.add_reactive("min_values", min_values) diff --git a/src/pycord_reactive_views/view.py b/src/pycord_reactive_views/view.py index 87e73ce..05accde 100644 --- a/src/pycord_reactive_views/view.py +++ b/src/pycord_reactive_views/view.py @@ -53,9 +53,9 @@ class ReactiveView(discord.ui.View): if not editable: raise ValueError("View has no editable (not yet sent?), can't refresh") if embeds := await self._get_embeds(): - await editable.edit(content=await self._get_content(), embeds=embeds, view=self) + await editable.edit(content=await self._get_content(), embeds=embeds, view=self) # pyright: ignore[reportUnknownMemberType] else: - await editable.edit(content=await self._get_content(), view=self) + await editable.edit(content=await self._get_content(), view=self) # pyright: ignore[reportUnknownMemberType] async def send(self, ctx: discord.ApplicationContext | discord.Interaction, ephemeral: bool = False) -> None: """Send the view to a context."""