This commit is contained in:
2024-04-01 13:17:07 +02:00
parent f063235839
commit 051850eead
+1 -1
View File
@@ -1962,7 +1962,7 @@ async def parametry_muzyki_mego_ludu(
logger.info(exce)
class DoSearchView(discord.ui.View):
@discord.ui.button(label="Test", style=discord.ButtonStyle.danger, emoji=":)")
@discord.ui.button(label="Test", style=discord.ButtonStyle.danger, emoji=":The_Hammer:")
async def button_callback(self, button, interaction):
await interaction.response.send_message("You clicked the button!") # Send a message when the button is clicked