async def METHOD_NAME(self, interaction: discord.Interaction, button: discord.Button):
    await interaction.response.defer()
    m = await self.ctx.simple("What page do you want to go to? (Enter page number)")
    p = await inputs.integer_input(self.ctx, delete_after=True, timeout=30)
    await self.ctx.safe_delete(m)
    if p > len(self.records) + 1 or p <= 0:
        return await self.ctx.error("Invalid page number.", 4)
    if self.record == self.records[p - 1]:
        return await self.ctx.error("We are already on that page, ya dumb dumb.", 4)
    self.record = self.records[p - 1]
    await self.refresh_view()