Araeynn commited on
Commit
63703bc
1 Parent(s): 657362d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -302,11 +302,11 @@ async def on_message(message):
302
  try:
303
  with open(f"data/{guild_name}/{msgchannel_name}", "w") as f:
304
  f.write("")
305
- embed = discord.Embed(title="Success", description=f"History reset in {msgchannel.id}")
306
  await message.reply(embed=embed)
307
  return 0
308
  except:
309
- embed = discord.Embed(title="Error", description=f"No history in {msgchannel.id}")
310
  await message.reply(embed=embed)
311
  return 0
312
  if args[0] == "":
 
302
  try:
303
  with open(f"data/{guild_name}/{msgchannel_name}", "w") as f:
304
  f.write("")
305
+ embed = discord.Embed(title="Success", description=f"History reset in <@{msgchannel.id}>")
306
  await message.reply(embed=embed)
307
  return 0
308
  except:
309
+ embed = discord.Embed(title="Error", description=f"No history in <#{msgchannel.id}>")
310
  await message.reply(embed=embed)
311
  return 0
312
  if args[0] == "":