Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -218,7 +218,7 @@ async def on_message(message):
|
|
| 218 |
if len(args) == 0:
|
| 219 |
with open(f"{guild_name}.guild", "a") as f:
|
| 220 |
f.write(f"{msgchannel.id}\n")
|
| 221 |
-
embed = discord.Embed(title="Success!", description=f"You can now chat with the bot in <#{
|
| 222 |
await message.reply(embed=embed)
|
| 223 |
return 0
|
| 224 |
if args[0] == "":
|
|
@@ -289,7 +289,7 @@ async def on_message(message):
|
|
| 289 |
return reaction.message.id == msg.id and user == message.author
|
| 290 |
page = 0
|
| 291 |
titles = ["""--setup""", """--reset"""]
|
| 292 |
-
pages = [setupCommand,
|
| 293 |
embed = discord.Embed(title=titles[page], description=pages[page])
|
| 294 |
embed.set_footer(text=f"Page {page + 1} of {len(pages)}")
|
| 295 |
msg = await message.reply(embed=embed)
|
|
|
|
| 218 |
if len(args) == 0:
|
| 219 |
with open(f"{guild_name}.guild", "a") as f:
|
| 220 |
f.write(f"{msgchannel.id}\n")
|
| 221 |
+
embed = discord.Embed(title="Success!", description=f"You can now chat with the bot in <#{msgchannel.id}>")
|
| 222 |
await message.reply(embed=embed)
|
| 223 |
return 0
|
| 224 |
if args[0] == "":
|
|
|
|
| 289 |
return reaction.message.id == msg.id and user == message.author
|
| 290 |
page = 0
|
| 291 |
titles = ["""--setup""", """--reset"""]
|
| 292 |
+
pages = [setupCommand, revokeCommand]
|
| 293 |
embed = discord.Embed(title=titles[page], description=pages[page])
|
| 294 |
embed.set_footer(text=f"Page {page + 1} of {len(pages)}")
|
| 295 |
msg = await message.reply(embed=embed)
|