async def METHOD_NAME(self, interaction: disnake.Interaction, **kwargs):
    """Refresh the interaction's message with the current state of the menu."""
    content_kwargs = await self.get_content()
    if interaction.response.is_done():
        # using interaction feels cleaner, but we could probably do self.message.edit too
        await interaction.edit_original_message(view=self, **content_kwargs, **kwargs)
    else:
        await interaction.response.edit_message(view=self, **content_kwargs, **kwargs)