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(