From 103dd97f357c03246e62b502d481d4dbb03fef18 Mon Sep 17 00:00:00 2001 From: Migatu Date: Tue, 2 Apr 2024 14:23:51 +0200 Subject: [PATCH] kk --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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