misc
This commit is contained in:
parent
0a983b140e
commit
6d185bd52f
8
debug/test.mjs
Normal file
8
debug/test.mjs
Normal file
|
@ -0,0 +1,8 @@
|
|||
import f0cklib from "../src/inc/routes/inc/f0cklib.mjs";
|
||||
|
||||
console.log(
|
||||
await f0cklib.getRandom({
|
||||
user: '',
|
||||
fav: true
|
||||
})
|
||||
);
|
|
@ -6,7 +6,8 @@
|
|||
"scripts": {
|
||||
"start": "node --experimental-json-modules src/index.mjs",
|
||||
"trigger": "node --experimental-json-modules debug/trigger.mjs",
|
||||
"autotagger": "node --experimental-json-modules debug/autotagger.mjs"
|
||||
"autotagger": "node --experimental-json-modules debug/autotagger.mjs",
|
||||
"test": "node --experimental-json-modules debug/test.mjs"
|
||||
},
|
||||
"author": "Flummi",
|
||||
"license": "MIT",
|
||||
|
|
|
@ -372,6 +372,7 @@ html[theme="iced"] {
|
|||
--badge-tag: #22083c;
|
||||
--scrollbar-color: #2b2b2b;
|
||||
--scroller-bg: #424242;
|
||||
--tooltip-bg: #0a3f53;
|
||||
}
|
||||
|
||||
html[theme="iced"] .navbar-brand:hover {
|
||||
|
|
|
@ -52,7 +52,7 @@ export default async bot => {
|
|||
// generate uuid
|
||||
const uuid = (await sql.select(sql.raw("gen_random_uuid() as uuid")))[0].uuid.substring(0, 8);
|
||||
|
||||
const maxfilesize = (getLevel(e.user).level > 50 ? cfg.main.maxfilesize * 2.5 : cfg.main.maxfilesize) / 1024;
|
||||
const maxfilesize = (getLevel(e.user).level > 50 ? cfg.main.maxfilesize * 3.5 : cfg.main.maxfilesize) / 1024;
|
||||
|
||||
let meta;
|
||||
// read metadata
|
||||
|
|
Loading…
Reference in New Issue
Block a user