damn
This commit is contained in:
		@@ -1,27 +1,10 @@
 | 
				
			|||||||
import db from "../src/inc/sql.mjs";
 | 
					import db from "../src/inc/sql.mjs";
 | 
				
			||||||
import lib from "../src/inc/lib.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 () => {
 | 
					(async () => {
 | 
				
			||||||
  const _args = process.argv.slice(2);
 | 
					  const _args = process.argv.slice(2);
 | 
				
			||||||
  const _from = +_args[0];
 | 
					  const _from = +_args[0];
 | 
				
			||||||
  const _to = _from + 0;
 | 
					  const _to = _from + 500;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  const f0cks = await db`
 | 
					  const f0cks = await db`
 | 
				
			||||||
    select *
 | 
					    select *
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user