From b0872df2695eea50ea99d375aa14f877dbf5e9c3 Mon Sep 17 00:00:00 2001 From: Migatu Date: Tue, 2 Apr 2024 17:26:38 +0200 Subject: [PATCH] aa --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index f4ffa82..4165509 100644 --- a/bot.py +++ b/bot.py @@ -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:80], 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