damn
This commit is contained in:
		@@ -1,27 +1,10 @@
 | 
			
		||||
import db from "../src/inc/sql.mjs";
 | 
			
		||||
import lib from "../src/inc/lib.mjs";
 | 
			
		||||
import { exec as _exec } from "child_process";
 | 
			
		||||
import { promisify } from "util";
 | 
			
		||||
const exec = promisify(_exec);
 | 
			
		||||
//import fetch from "flumm-fetch-cookies";
 | 
			
		||||
 | 
			
		||||
const isNSFW = res => {
 | 
			
		||||
  let nsfw = false;
 | 
			
		||||
  if(res.neutral >= .7)
 | 
			
		||||
    nsfw = false;
 | 
			
		||||
  else if((res.sexy + res.porn + res.hentai) >= .7)
 | 
			
		||||
    nsfw = true;
 | 
			
		||||
  else if(res.drawings >= .4)
 | 
			
		||||
    nsfw = false;
 | 
			
		||||
  else
 | 
			
		||||
    nsfw = false;
 | 
			
		||||
  return nsfw;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
(async () => {
 | 
			
		||||
  const _args = process.argv.slice(2);
 | 
			
		||||
  const _from = +_args[0];
 | 
			
		||||
  const _to = _from + 0;
 | 
			
		||||
  const _to = _from + 500;
 | 
			
		||||
 | 
			
		||||
  const f0cks = await db`
 | 
			
		||||
    select *
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user