func checkForBadWords(in string: String) throws { if badWords.contains(string) { throw BadWordError() } else if string.contains(" ") { let parts = string.split(separator: " ") for part in parts { if badWords.contains(String(part)) { throw BadWordError() } } } } struct BadWordError: Error {} let badWords: [String] = [ "puppy", "2g1c", "a-hole", "a-holes", "abeed", "acrotomophilia", "ahole", "aholes", "alabama hot pocket", "alaskan pipeline", "anal", "anally", "anilingus", "anus", "ape", "apeshit", "arse", "arse-licker", "arse-lickers", "arsed", "arsehole", "arseholed", "arseholes", "arselick", "arselicked", "arselicker", "arselickers", "arselicking", "arselicks", "arses", "arsewipe", "arsewipes", "arsey", "arsing", "ass", "assed", "asses", "asshole", "assholes", "assman", "assmunch", "asswipe", "asswipes", "auto erotic", "autoerotic", "babeland", "baby batter", "baby juice", "ball gag", "ball gravy", "ball kicking", "ball licking", "ball sack", "ball sacks", "ball sucking", "ball-ache", "ballsack", "ballsacks", "bampot", "bampots", "bang", "bangbox", "bangbros", "bangbus", "bareback", "barely legal", "barenaked", "barmpot", "barmpots", "bastard", "bastinado", "batty boy", "batty bwoy", "batty man", "bbw", "bdsm", "bean queen", "beaner", "beaners", "beastiality", "beautiful pussy", "beaver cleaver", "beaver lips", "beef curtain", "beef curtains", "bellend", "bellends", "bender", "bestiality", "biatch", "biatches", "bigass", "bimbos", "bint", "bints", "biotch", "biotches", "birdlock", "bitch", "bitches", "bitchin", "bitchiness", "bitchy", "black cock", "blacky", "blonde action", "blonde on blonde action", "bloodclat", "blow a load", "blow job", "blow jobs", "blow your load", "blowjob", "blowjobs", "blue waffle", "blumpkin", "bollock", "bollocks", "bollox", "bolloxed", "bondage", "boner", "bonk", "boob", "boobies", "boobs", "booty call", "brazzer", "brazzers", "breasts", "brown showers", "brunette action", "bufu", "bugger", "buggered", "buggering", "buggers", "bukake", "bukkake", "bulldyke", "bullet vibe", "bullshat", "bullshit", "bullshits", "bullshitted", "bullshitter", "bullshitters", "bullshitting", "bum", "bumblefuck", "bung hole", "bunghole", "busty", "butt", "butt plug", "buttfuck", "buttfucked", "buttfucker", "buttfuckers", "butthole", "buttplug", "cam girl", "cam girls", "camel jockey", "camel jockeys", "camel toe", "camel toes", "cameltoe", "cameltoes", "camgirl", "camgirls", "camslut", "camsluts", "camwhore", "camwhores", "carpet muncher", "carpet munching", "carpetmuncher", "chi chi bwoy", "chi chi man", "chinaman", "chinamen", "chingchong", "chink", "chinkies", "chinky", "choad", "chocha", "chocolate rosebuds", "chocolate starfish", "chode", "chodes", "cholo", "chutiya", "cialis", "circle jerk", "circle jerking", "circle jerks", "circlejerk", "cleveland steamer", "cleveland steamers", "clit", "clitoris", "clits", "clitty", "clover clamps", "clunge", "clunges", "clusterfuck", "clusterfucks", "cock", "cockface", "cockhead", "cocks", "cocksucker", "cocksuckers", "cocksucking", "commie", "commies", "coolie", "coon", "coons", "coprolagnia", "coprophilia", "cornhole", "crap", "creampie", "cuck", "cucked", "cucking", "cuckold", "cucks", "culchie", "culchies", "cum", "cum dump", "cumdump", "cumming", "cums", "cumshot", "cumshots", "cumslut", "cunnies", "cunnilingus", "cunny", "cunt", "cunt bag", "cunt bags", "cuntbag", "cunted", "cunties", "cunting", "cunts", "cuntsicle", "cunty", "dago", "dammit", "damn", "damnedest", "damnit", "darkie", "darky", "date rape", "daterape", "deadshit", "deep throat", "deepthroat", "dendrophilia", "dick", "dicked", "dickhead", "dickheads", "dicking", "dicks", "dicksplat", "diddle", "dildo", "dildoes", "dildos", "dilligaf", "dingleberries", "dingleberry", "dipshit", "dipshits", "dirty pillows", "dirty sanchez", "dog style", "doggie style", "doggiestyle", "doggy style", "doggystyle", "dogshit", "dogshits", "dolcett", "dominatrix", "dommes", "donkey punch", "dothead", "double dong", "double penetration", "dp action", "dry hump", "dumass", "dumbass", "dumbasses", "dumbshit", "dvda", "dyke", "ecchi", "ejaculation", "erectoplasm", "erotic", "erotism", "escort", "eunuch", "f*ck", "f*cked", "f*cking", "f*cks", "facefuck", "facefucks", "fag", "faggot", "faggotry", "faggots", "faggoty", "fagot", "fagots", "fanny", "fap", "fck", "fcking", "fcks", "fcku", "fcuk", "fcuked", "fcuking", "fcuks", "fecal", "feck", "fecked", "fecker", "feckers", "feckin", "fecking", "fecks", "felch", "felcher", "felchers", "felching", "fellate", "fellatio", "feltch", "female squirting", "femdom", "figging", "fingerbang", "fingering", "first orgy", "fisting", "flamer", "fook", "fooked", "fooker", "fookers", "fooking", "fooks", "foot fetish", "footjob", "free nudes", "frotting", "fuc", "fuck", "fuck face", "fuck faces", "fucka", "fuckable", "fuckbitch", "fuckbitches", "fuckbook", "fuckbooking", "fucke", "fucked", "fuckem", "fucken", "fucker", "fuckers", "fuckery", "fuckface", "fuckfaces", "fuckfeatures", "fuckhead", "fuckheads", "fuckin", "fucking", "fuckmeat", "fuckn", "fucknut", "fucknuts", "fuckoff", "fuckpig", "fuckpigs", "fucks", "fucktard", "fucktards", "fuckung", "fuckup", "fuckups", "fuckwit", "fuckwits", "fuckyou", "fudge packer", "fudgepacker", "funbags", "fuq", "futanari", "g-spot", "gand", "gang bang", "gangbang", "gash-stabber", "gay sex", "geebag", "genitals", "giant cock", "gin jockey", "girl on", "girl on top", "girls 1 cup", "girls gone wild", "glory hole", "glory holes", "gloryhole", "gloryholes", "go to hell", "goatse", "gobshite", "gobshites", "god damn", "godamnit", "goddammit", "goddamn", "goddamnit", "gokkun", "golden shower", "goo girl", "goodpoop", "gook", "goregasm", "groid", "grope", "groped", "gropes", "groping", "group sex", "gtfo", "guro", "gypsy", "hair pie", "hand job", "hand jobs", "handjob", "handjobs", "hard core", "hard-on", "hardcore", "hardons", "harry palms", "he-she", "he-shes", "hebe", "hentai", "heshe", "heshes", "hoe", "homo", "homoerotic", "homosexual", "honkey", "hooker", "hoor", "hoore", "hor", "horny", "horseshit", "hot carl", "hot chick", "houre", "how to kill", "how to murder", "huge fat", "humping", "hure", "hymie", "incest", "injun", "intercourse", "ities", "jack off", "jacked off", "jackoff", "jackoffs", "jacks off", "jackshit", "jail bait", "jailbait", "jap", "japs", "jelly donut", "jerk off", "jerkoff", "jerkoffs", "jesus freak", "jew", "jigaboo", "jiggaboo", "jiggerboo", "jism", "jiz", "joo", "juggs", "jungle bunny", "kaffir", "kaffirs", "kafir", "kafirs", "kiddie fiddler", "kiddie fiddlers", "kidtoucher", "kike", "kikes", "kill myself", "kill you", "kinbaku", "kinkster", "kinky", "kissass", "kitty puncher", "kkk", "klan", "knobbing", "knobhead", "knobheads", "knockers", "ku kluxer", "ladyboy", "ladyboys", "leather restraint", "leather straight jacket", "lemon party", "lesbo", "lezbo", "lezbos", "lezzer", "lezzers", "lezzie", "lezzies", "livesex", "lolita", "lovemaking", "make me come", "male squirting", "mancock", "massive facial", "masterbate", "masterbated", "masterbates", "masterbating", "masterbation", "masturbate", "masturbated", "masturbates", "masturbating", "masturbation", "meat curtains", "menage a trois", "merkin", "merkins", "microshite", "milf", "mingers", "minging", "missionary position", "mo fo", "mofo", "mofos", "molest", "mong", "mongoloid", "mongs", "moose knuckle", "mothafucker", "mothafuckers", "motherfucker", "motherfuckers", "motherfucking", "motherfukkers", "mound of venus", "mr hands", "muff", "muff diver", "muffdiving", "mutha", "muthafucka", "naked chick", "nambla", "nasty wife", "nawashi", "negro", "nig", "nig nog", "nigg", "nigga", "niggas", "nigger", "niggers", "nigs", "nipple", "nipples", "nob-end", "nob-ends", "nobhead", "nobheads", "norks", "nude", "nudity", "numbnuts", "numbnutses", "numpty", "nutsack", "nutten", "nympho", "nymphomania", "nymphos", "octopussy", "omfg", "omorashi", "one cup two girls", "one guy one jar", "orgasm", "orgies", "orgy", "orgys", "oven dodger", "packi", "paedophile", "paki", "pakis", "paleface", "palefaces", "pancake face", "panties", "panty", "pecker", "pederast", "pederasts", "pedo", "pedobear", "pedophile", "pedos", "pegging", "penis", "peter puffer", "phone sex", "phuc", "piece of shit", "pigshit", "pikey", "pillow biter", "pillow biters", "piss", "piss pig", "pissflaps", "pisshead", "pissheads", "pissing", "pisspig", "playboy", "playmate", "pleasure chest", "pocket pool", "pole licker", "pole smoker", "pole sucker", "polesmoker", "ponyplay", "poo", "poofster", "poofsters", "poofta", "pooftah", "poofter", "poofters", "poontang", "poop", "poop chute", "poopchute", "porch monkey", "porch monkeys", "porchmonkey", "porchmonkeys", "pork sword", "porn", "porno", "pornography", "pornos", "porns", "prick", "pron", "prons", "pubes", "punani", "punany", "pusses", "pussey", "pussy", "pussyboy", "pussyboys", "pussylicker", "pussylickers", "pussyman", "pussymen", "pussys", "puta", "putas", "queaf", "queef", "queefs", "queer", "quim", "quims", "rag head", "rag heads", "raghead", "ragheads", "raging boner", "rape", "raping", "rapist", "rectum", "redskin", "rent boy", "rent boys", "rentboy", "rentboys", "retard", "retarded", "reverse cowgirl", "rim job", "rimjob", "rimming", "rug muncher", "rusty trombone", "s&m", "sadism", "salad tosser", "sambo", "santorum", "sausage jockey", "scat", "schizo", "schlong", "scissoring", "scroat", "scroats", "scrote", "scrotes", "scumbag", "scumbags", "semen", "sex", "sexcam", "sexo", "sexual", "sexuality", "sexually", "sexy", "shaggin", "shat", "shaved pussy", "she-he", "she-hes", "sheep shagger", "sheep shaggers", "shehe", "shehes", "shemale", "shemales", "shibari", "shiester", "shirtlifter", "shirtlifters", "shit", "shitbag", "shitbags", "shitblimp", "shitbox", "shitboxes", "shite", "shited", "shitehawk", "shitehawks", "shiter", "shiters", "shites", "shitey", "shitface", "shitfaced", "shithead", "shitheads", "shithole", "shitholes", "shithouse", "shithouses", "shiting", "shitless", "shitload", "shitloads", "shits", "shitstain", "shitstains", "shitted", "shitter", "shitters", "shittier", "shittiest", "shitting", "shitty", "shity", "shlong", "shlongs", "shota", "shrimping", "shut the hell up", "shut up", "shyt", "shyte", "skank", "skanks", "skanky", "skeet", "slant eye", "slanteye", "slaphead", "slich", "slit", "slut", "sluts", "slutty", "smackhead", "smackheads", "smart-arse", "smart-ass", "smartarse", "smartass", "smartasse", "smartasses", "smeg", "smegma", "smut", "snatch", "snow bunny", "snowballing", "sodomize", "sodomy", "sonofabitch", "spaff", "spaffed", "spaffing", "spaffs", "spastic", "spic", "spick", "spicks", "spics", "spik", "spiks", "spiv", "splooge", "splooge moose", "spooge", "spook", "spread legs", "spunk", "stfu", "stiffies", "stiffy", "strap on", "strapon", "strip club", "style doggy", "suck", "sucks", "sultry women", "swastika", "swinger", "tacohead", "tadger", "tadgers", "tainted love", "tallywhacker", "tallywhackers", "tar-baby", "tard", "tards", "taste my", "tata", "tatas", "tea bagging", "threesome", "throat yogurt", "throater", "throating", "thumbzilla", "thundercunt", "tied up", "tight white", "tit", "tits", "tittie", "titties", "titty", "tittys", "todger", "todgers", "tongue in a", "tosser", "tossing salad", "towelhead", "tramp", "trannies", "tranny", "transvestite", "tribadism", "trouser snake", "tub girl", "tubgirl", "turd", "tushy", "twat", "twathead", "twats", "twatties", "twatty", "twink", "twinkie", "two girls one cup", "twot", "twots", "twunt", "twunts", "undressing", "upskirt", "upskirts", "urethra play", "urophilia", "vadge", "vadges", "vag", "vagina", "venus mound", "viagra", "vibrator", "violet wand", "vorarephilia", "voyeur", "voyeurweb", "voyuer", "vulva", "wang", "wanger", "wangers", "wank", "wanked", "wanker", "wankers", "wanking", "wanks", "wankstain", "wankstains", "wazz", "wazzock", "wazzocks", "wet dream", "wetback", "wetbacks", "whack job", "whack off", "whacked off", "whacking off", "whacks off", "white power", "whore", "whore house", "whored", "whoredom", "whorehouse", "whores", "whoring", "whorish", "wigger", "wiggers", "willy-whacker", "window licker", "wog", "wogs", "wooftah", "woofter", "woofters", "wop", "wops", "worldsex", "wrapping men", "yam-yam", "yaoi", "yid", "yids", "yiffy", "zipperhead", "zipperheads", "zoophilia", "🖕" ]