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