Spaces:
Running
Running
change button to test channel in HF server
Browse files
app.py
CHANGED
@@ -25,10 +25,10 @@ async def on_ready():
|
|
25 |
print(f'Logged in as {bot.user}')
|
26 |
|
27 |
if BUTTON_MESSAGE_ID:
|
28 |
-
channel = bot.get_channel(
|
29 |
if channel:
|
30 |
try:
|
31 |
-
message = await channel.fetch_message(
|
32 |
if message:
|
33 |
button = DMButton(label="Verify Discord Account", style=discord.ButtonStyle.primary)
|
34 |
view = View(timeout=None)
|
|
|
25 |
print(f'Logged in as {bot.user}')
|
26 |
|
27 |
if BUTTON_MESSAGE_ID:
|
28 |
+
channel = bot.get_channel(932563860597121054)
|
29 |
if channel:
|
30 |
try:
|
31 |
+
message = await channel.fetch_message(1269917762327674974)
|
32 |
if message:
|
33 |
button = DMButton(label="Verify Discord Account", style=discord.ButtonStyle.primary)
|
34 |
view = View(timeout=None)
|