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', 'orgasm', 'masturbation',
'erotic', 'creampie', 'erotic', 'creampie',
'fap', 'nude', 'orgasm', 'fap', 'nude', 'orgasm',
'squirting' 'squirting', 'yiff',
'e621'
] ]
nono_sites = [ nono_sites = [
'xvideos', 'pornhub', 'xvideos', 'pornhub',
@ -58,7 +59,7 @@ class Search(commands.Cog):
if not is_nsfw: if not is_nsfw:
for i in nono_words: for i in nono_words:
if i in query: if i in query.replace(" ", ""):
return ( return (
"**Sorry!** That query included language " "**Sorry!** That query included language "
"we cannot accept in a non-NSFW channel. " "we cannot accept in a non-NSFW channel. "