diff --git a/bot.py b/bot.py index b48f853..6d4cab5 100644 --- a/bot.py +++ b/bot.py @@ -2024,7 +2024,7 @@ async def wyszukaj_linki_do_dokumentow(ctx): print(i) url = quote_plus(resultlink[i-1]) 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 + 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