From 8be5dc56bc1191235f70d6c27b14b79623c51826 Mon Sep 17 00:00:00 2001 From: Migatu Date: Mon, 1 Apr 2024 13:25:47 +0200 Subject: [PATCH] xxx --- bot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index d6fb509..9514cd7 100644 --- a/bot.py +++ b/bot.py @@ -1962,9 +1962,10 @@ async def parametry_muzyki_mego_ludu( logger.info(exce) class DoSearchView(discord.ui.View): - @discord.ui.button(label="Test", style=discord.ButtonStyle.danger, emoji=1102174413887111189) + @discord.ui.button(label="Test", style=discord.ButtonStyle.danger) async def button_callback(self, button, interaction): - + #emoji = await ctx.guild.fetch_emoji(id) + #button.emoji=1102174413887111189 await interaction.response.send_message("You clicked the button!") # Send a message when the button is clicked @client.hybrid_command(