mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
xxx
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user