lunarflu HF staff commited on
Commit
a966932
1 Parent(s): d1d4fa9

Synced repo using 'sync_with_huggingface' Github Action

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -37,6 +37,7 @@ async def on_message(message):
37
  global number_of_messages
38
  if message.author != bot.user:
39
  lunarflu = bot.get_user(811235357663297546) #811235357663297546
 
40
 
41
  """Backup"""
42
  number_of_messages = number_of_messages + 1
@@ -52,7 +53,8 @@ async def on_message(message):
52
  if any(role.id in ignored_role_ids for role in message.author.roles):
53
  if message.author != lunarflu:
54
  return
55
- dm_unwanted = await lunarflu.send(f" {lunarflu.mention} FORBIDDEN STRING: {message_link} |{message.author}: {message.content}")
 
56
  except Exception as e:
57
  print(f"Antispam->Detecting certain unwanted strings Error: {e}")
58
 
 
37
  global number_of_messages
38
  if message.author != bot.user:
39
  lunarflu = bot.get_user(811235357663297546) #811235357663297546
40
+ cakiki = bot.get_user(416019758492680203)
41
 
42
  """Backup"""
43
  number_of_messages = number_of_messages + 1
 
53
  if any(role.id in ignored_role_ids for role in message.author.roles):
54
  if message.author != lunarflu:
55
  return
56
+ dm_unwanted = await lunarflu.send(f" {lunarflu.mention} [experimental] SUSPICIOUS MESSAGE: {message_link} | {message.author}: {message.content}")
57
+ dm_unwanted = await cakiki.send(f" {lunarflu.mention} [experimental] SUSPICIOUS MESSAGE: {message_link} | {message.author}: {message.content}")
58
  except Exception as e:
59
  print(f"Antispam->Detecting certain unwanted strings Error: {e}")
60