lunarflu HF Staff commited on
Commit
c592a4b
·
verified ·
1 Parent(s): 93f0fb1

remove lots of old unneeded manual flag keywords (claim, etc) since verification check catches those accounts

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ async def on_message(message):
65
  """Antispam"""
66
  #Detecting certain unwanted strings
67
  try:
68
- forbidden_strings = ["@everyone", "@here", "discord.gg", "discord.com/invite", "discord.com", "discord-premium", "opensea", "claim", "mint"]
69
  if any(string.lower() in message.content.lower() for string in forbidden_strings):
70
  ignored_role_ids = [897381378172264449, 897376942817419265] #admins, huggingfolks
71
  if any(role.id in ignored_role_ids for role in message.author.roles):
 
65
  """Antispam"""
66
  #Detecting certain unwanted strings
67
  try:
68
+ forbidden_strings = ["@everyone", "@here"]
69
  if any(string.lower() in message.content.lower() for string in forbidden_strings):
70
  ignored_role_ids = [897381378172264449, 897376942817419265] #admins, huggingfolks
71
  if any(role.id in ignored_role_ids for role in message.author.roles):