Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
remove lots of old unneeded manual flag keywords (claim, etc) since verification check catches those accounts
Browse files
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"
|
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):
|