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