Spaces:
Running
Running
fix
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ class DMButton(Button):
|
|
57 |
@bot.command(name='sendbutton')
|
58 |
async def send_button(ctx):
|
59 |
if ctx.author.id == 811235357663297546:
|
60 |
-
button = DMButton(label="Verify Discord Account", style=discord.ButtonStyle.primary
|
61 |
view = View()
|
62 |
view.add_item(button)
|
63 |
await ctx.send("Click the button below to generate your verification link:",view=view) #
|
|
|
57 |
@bot.command(name='sendbutton')
|
58 |
async def send_button(ctx):
|
59 |
if ctx.author.id == 811235357663297546:
|
60 |
+
button = DMButton(label="Verify Discord Account", style=discord.ButtonStyle.primary, user_id=ctx.author.id)
|
61 |
view = View()
|
62 |
view.add_item(button)
|
63 |
await ctx.send("Click the button below to generate your verification link:",view=view) #
|