lunarflu HF staff commited on
Commit
d623ce6
1 Parent(s): d757d3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -693,6 +693,7 @@ async def send_hub_org_dm_retroactive(ctx, role_id):
693
  for member in role.members:
694
  try:
695
  dm_message = f"Hey {member}! You've just been invited to join the Hugging Face Discord Community org! 🤗\n If you're interested in collaborating on open source projects, hanging out with the community or just enjoying your new badge, we're happy to have you! ❤️ https://huggingface.co/organizations/discord-community/share/wPKRAHYbAlaEaCxUxcqVyaaaeZcYagDvqc"
 
696
  await lunar.send(dm_message)
697
  await asyncio.sleep(5)
698
  except discord.Forbidden:
 
693
  for member in role.members:
694
  try:
695
  dm_message = f"Hey {member}! You've just been invited to join the Hugging Face Discord Community org! 🤗\n If you're interested in collaborating on open source projects, hanging out with the community or just enjoying your new badge, we're happy to have you! ❤️ https://huggingface.co/organizations/discord-community/share/wPKRAHYbAlaEaCxUxcqVyaaaeZcYagDvqc"
696
+ await member.send(dm_message)
697
  await lunar.send(dm_message)
698
  await asyncio.sleep(5)
699
  except discord.Forbidden: