Add filters
This commit is contained in:
parent
5509264136
commit
9220022d3e
5
t0sig.py
5
t0sig.py
|
@ -71,12 +71,15 @@ async def message_tanner(name, website, message, mid):
|
|||
if 'sex' in message or 'porn' in message:
|
||||
return
|
||||
|
||||
if 'lasertest' in name:
|
||||
if 'lasertest' in name or 'porn' in name:
|
||||
return
|
||||
|
||||
if 'slkjfdf.net' in website:
|
||||
return
|
||||
|
||||
if name.replace(' ', '') in ['website', 'webpage', 'homepage']:
|
||||
return
|
||||
|
||||
report = 'Name: {}\n\nWebsite: {}\n\nMessage: {}\n\n/allow_{}'
|
||||
try:
|
||||
await bot.send_message(TANNER, message=report.format(name, website, message, mid))
|
||||
|
|
Loading…
Reference in New Issue
Block a user