mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-18 15:52:10 +00:00
asdas
This commit is contained in:
@@ -2013,10 +2013,7 @@ async def wyszukaj_linki_do_dokumentow(ctx):
|
|||||||
for i in range(1,5):
|
for i in range(1,5):
|
||||||
query = quote_plus(resulttab[i-1])
|
query = quote_plus(resulttab[i-1])
|
||||||
url = f'https://www.google.com/search?q={query}'
|
url = f'https://www.google.com/search?q={query}'
|
||||||
name = discord.ui.TextInput(label='Name', row=i)
|
result_view.add_item(discord.ui.Button(label = resulttab[i-1], row = i,url=url))
|
||||||
|
|
||||||
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
|
await ctx.send("This is a button!", view=result_view) # Send a message with our View class that contains the button
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user