@disnake.ui.button(label='Red', style=disnake.ButtonStyle.red, custom_id='persistent_view:red')
async def red(self, button: disnake.ui.Button, interaction: disnake.MessageInteraction):
    (await interaction.response.send_message('This is red.', ephemeral=True))
@disnake.ui.button(label='Red', style=disnake.ButtonStyle.red, custom_id='persistent_view:red')
async def red(self, button: disnake.ui.Button, interaction: disnake.MessageInteraction):
    (await interaction.response.send_message('This is red.', ephemeral=True))