How to detect NSFW content in a Google search command?
RobbieWinfield (1)

I'm making a Discord bot using discord.py (Python obviously). One of the commands users can do is a Google search command. When I sent the bot to a publication website so others can add it to their servers, it got declined several times because of an issue where people can search for NSFW content via this command. As of the time I'm making this post, the command starts at line 152 but that's subject to change because I'm actively working on the bot. (Just search for googlesearch if you need to find it). https://VegetarianBot--robbiewinfield.repl.co (yes, I am aware that my name is in the link; just don't kill me in my sleep).

You are viewing a single comment. View All