lunarflu HF staff commited on
Commit
f88a9b7
1 Parent(s): ff69e80

dm banned people letting them know where they can appeal

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -265,7 +265,7 @@ async def on_member_ban(guild, banned_user):
265
  embed.set_footer(text=f"{convert_to_timezone(datetime.utcnow(), zurich_tz)}")
266
 
267
  #user = bot.get_user(811235357663297546)
268
- #dm_message = await user.send(content=content, embed=embed)
269
  await bot.log_channel.send(content=content, embed=embed)
270
 
271
  except Exception as e:
 
265
  embed.set_footer(text=f"{convert_to_timezone(datetime.utcnow(), zurich_tz)}")
266
 
267
  #user = bot.get_user(811235357663297546)
268
+ dm_message = await banned_user.send(f"You've been banned from the Hugging Face Discord. To appeal, reach out to <@811235357663297546> via DM")
269
  await bot.log_channel.send(content=content, embed=embed)
270
 
271
  except Exception as e: