From 772961be91f27824eb61944afe14c348d3774f87 Mon Sep 17 00:00:00 2001 From: Migatu Date: Mon, 1 Apr 2024 21:49:59 +0200 Subject: [PATCH] sda --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index ea19f52..8668b8e 100644 --- a/bot.py +++ b/bot.py @@ -2013,9 +2013,9 @@ async def wyszukaj_linki_do_dokumentow(ctx): for i in range(1,5): query = quote_plus(resulttab[i-1]) url = f'https://www.google.com/search?q={query}' - name = discord.ui.TextInput(label='Name') + name = discord.ui.TextInput(label='Name', row=i) - result_view.add_item(label=name, row = i) + result_view.add_item(name) 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