diff --git a/bot.py b/bot.py index b2a9da9..41967c4 100644 --- a/bot.py +++ b/bot.py @@ -1976,7 +1976,7 @@ class DoSearchView(discord.ui.View): logger.info("Pressed") logger.info(button) logger.info(interaction) - await interaction.response.send_message("You clicked the button!") # Send a message when the button is clicked + await interaction.response.edit_message(content = "You clicked the button!") # Send a message when the button is clicked @client.hybrid_command( name="wyszukaj_linki_do_dokumentow",