mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-17 23:32:10 +00:00
asa
This commit is contained in:
@@ -2011,7 +2011,7 @@ async def wyszukaj_linki_do_dokumentow(ctx):
|
|||||||
resulttab = ["r1", "r2", "r3", "r4"]
|
resulttab = ["r1", "r2", "r3", "r4"]
|
||||||
|
|
||||||
for i in range(1,5):
|
for i in range(1,5):
|
||||||
query = quote_plus(resulttab[i])
|
query = quote_plus(resulttab[i-1])
|
||||||
url = f'https://www.google.com/search?q={query}'
|
url = f'https://www.google.com/search?q={query}'
|
||||||
result_view.add_item(discord.ui.Button(label = resulttab[i-1], row = i,url=url))
|
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