From 354afa97f90da8569e8deaa92c3afee19556efea Mon Sep 17 00:00:00 2001 From: Migatu Date: Mon, 1 Apr 2024 13:13:25 +0200 Subject: [PATCH] aa --- bot.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bot.py b/bot.py index 044ae0f..a4069e1 100644 --- a/bot.py +++ b/bot.py @@ -1967,13 +1967,12 @@ class DoSearchView(discord.ui.View): await interaction.response.send_message("You clicked the button!") # Send a message when the button is clicked @client.hybrid_command( - name="znajdz_linki_do_dokumentow", + name="wyszukaj_linki_do_dokumentow", description="Szuka linkow doi w bazie crossref i podaje linki do scihuba", guild=discord.Object(id=664789470779932693), ) -async def parametry_muzyki_mego_ludu( - ctx, ile_historii=1500, ile_slow_kluczowych=15, jak_dluga_plejlista=30 -): +async def wyszukaj_linki_do_dokumentow(ctx): + await ctx.respond("This is a button!", view=DoSearchView()) # Send a message with our View class that contains the button # *================================== Run