diff --git a/bot.py b/bot.py index 7e8874f..b325e5c 100644 --- a/bot.py +++ b/bot.py @@ -131,7 +131,7 @@ with open(filename, "wb") as f: f.write(image.content) # Image is NSFW if rated Explicit, Sensitive or Unknown -is_nsfw = post["rating"].startswith("e") or post["rating"].startswith("s") or post["rating"] == None +is_nsfw = not post["rating"].startswith("g") or post["rating"] == None if is_nsfw == False: for tag in config.nsfw_tags: