diff --git a/bot.py b/bot.py index 353c62d..c8c509d 100644 --- a/bot.py +++ b/bot.py @@ -2026,8 +2026,8 @@ async def wyszukaj_linki_do_dokumentow(ctx): logger.info(resultlink[i-1]) url = quote_plus(resultlink[i-1]) logger.info(url) - result_view.add_item(discord.ui.Button(label = resulttab[i-1], row = i,url=url)) + labelka = "Wyniki wyszukiwania dla: " + str(query)[30:] # ile znaleziono artykułów w ogóle, ile zostało po refine await ctx.send(labelka, view=result_view) # Send a message with our View class that contains the button