This commit is contained in:
2024-04-01 13:15:46 +02:00
parent ee2417ee00
commit f063235839
+1 -1
View File
@@ -1972,7 +1972,7 @@ class DoSearchView(discord.ui.View):
guild=discord.Object(id=664789470779932693),
)
async def wyszukaj_linki_do_dokumentow(ctx):
await ctx.respond("This is a button!", view=DoSearchView()) # Send a message with our View class that contains the button
await ctx.send("This is a button!", view=DoSearchView()) # Send a message with our View class that contains the button
# *================================== Run