From fd2255a8e200a3d8e902bb6336e6ba7eae1987b5 Mon Sep 17 00:00:00 2001 From: Migatu Date: Mon, 1 Apr 2024 13:22:51 +0200 Subject: [PATCH] dd --- bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 6cc9f19..d6fb509 100644 --- a/bot.py +++ b/bot.py @@ -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(