Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Synced repo using 'sync_with_huggingface' Github Action
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ async def on_message(message):
|
|
| 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" {
|
| 58 |
except Exception as e:
|
| 59 |
print(f"Antispam->Detecting certain unwanted strings Error: {e}")
|
| 60 |
|
|
|
|
| 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" {cakiki.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 |
|