More filtering

This commit is contained in:
Adriene Hutchins 2020-03-23 19:26:00 -04:00
parent b9c017d6c5
commit c2b4bea2e2

View file

@ -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. "