Araeynn commited on
Commit
078ce40
1 Parent(s): eeb5e2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -216,7 +216,9 @@ async def on_message(message):
216
  args = message.content.split()
217
  del args[0]
218
  if len(args) == 0:
219
- embed = discord.Embed(title="Error", description="No args provided. Use `--help` for command help.")
 
 
220
  await message.reply(embed=embed)
221
  return 0
222
  if args[0] == "":
 
216
  args = message.content.split()
217
  del args[0]
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 <#{cid}>")
222
  await message.reply(embed=embed)
223
  return 0
224
  if args[0] == "":