From 6e5345ce5b57449db6267c32f61d0e680c94b47d Mon Sep 17 00:00:00 2001 From: Migatu Date: Mon, 1 Apr 2024 21:49:18 +0200 Subject: [PATCH] aa --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 4189675..ea19f52 100644 --- a/bot.py +++ b/bot.py @@ -2015,7 +2015,7 @@ async def wyszukaj_linki_do_dokumentow(ctx): url = f'https://www.google.com/search?q={query}' name = discord.ui.TextInput(label='Name') - result_view.add_item(name, row = i) + result_view.add_item(label=name, row = i) result_view.add_item(discord.ui.Button(label = resulttab[i-1], row = i,url=url)) await ctx.send("This is a button!", view=result_view) # Send a message with our View class that contains the button