This commit is contained in:
2024-04-02 17:27:57 +02:00
parent b0872df269
commit d96de96133
+1 -1
View File
@@ -2025,7 +2025,7 @@ async def wyszukaj_linki_do_dokumentow(ctx):
logger.info(url)
temp_label = str(resulttab[i])
temp_label = temp_label.strip("[']")
result_view.add_item(discord.ui.Button(label = str(temp_label[0:79], row = i+1,url=url))
result_view.add_item(discord.ui.Button(label = str(temp_label[0:79], row = i+1,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