Spaces:
Paused
Paused
timeout=None
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ async def on_ready():
|
|
| 31 |
message = await channel.fetch_message(1266438263531634708)
|
| 32 |
if message:
|
| 33 |
button = DMButton(label="Verify Discord Account", style=discord.ButtonStyle.primary)
|
| 34 |
-
view = View()
|
| 35 |
view.add_item(button)
|
| 36 |
await message.edit(view=view)
|
| 37 |
print("message edited")
|
|
@@ -79,7 +79,7 @@ class DMButton(Button):
|
|
| 79 |
async def send_button(ctx):
|
| 80 |
if ctx.author.id == 811235357663297546:
|
| 81 |
button = DMButton(label="Verify Discord Account", style=discord.ButtonStyle.primary)
|
| 82 |
-
view = View()
|
| 83 |
view.add_item(button)
|
| 84 |
await ctx.send("Click the button below to generate your verification link:",view=view) #
|
| 85 |
|
|
|
|
| 31 |
message = await channel.fetch_message(1266438263531634708)
|
| 32 |
if message:
|
| 33 |
button = DMButton(label="Verify Discord Account", style=discord.ButtonStyle.primary)
|
| 34 |
+
view = View(timeout=None)
|
| 35 |
view.add_item(button)
|
| 36 |
await message.edit(view=view)
|
| 37 |
print("message edited")
|
|
|
|
| 79 |
async def send_button(ctx):
|
| 80 |
if ctx.author.id == 811235357663297546:
|
| 81 |
button = DMButton(label="Verify Discord Account", style=discord.ButtonStyle.primary)
|
| 82 |
+
view = View(timeout=None)
|
| 83 |
view.add_item(button)
|
| 84 |
await ctx.send("Click the button below to generate your verification link:",view=view) #
|
| 85 |
|