mirror of
https://github.com/polyjitter/searchbot-discord.git
synced 2024-08-14 22:46:55 +00:00
More filtering
This commit is contained in:
parent
b9c017d6c5
commit
c2b4bea2e2
1 changed files with 10 additions and 9 deletions
|
@ -47,7 +47,8 @@ class Search(commands.Cog):
|
|||
'orgasm', 'masturbation',
|
||||
'erotic', 'creampie',
|
||||
'fap', 'nude', 'orgasm',
|
||||
'squirting'
|
||||
'squirting', 'yiff',
|
||||
'e621'
|
||||
]
|
||||
nono_sites = [
|
||||
'xvideos', 'pornhub',
|
||||
|
@ -58,7 +59,7 @@ class Search(commands.Cog):
|
|||
|
||||
if not is_nsfw:
|
||||
for i in nono_words:
|
||||
if i in query:
|
||||
if i in query.replace(" ", ""):
|
||||
return (
|
||||
"**Sorry!** That query included language "
|
||||
"we cannot accept in a non-NSFW channel. "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue