This commit is contained in:
Flummi
2022-01-02 14:38:04 +01:00
parent 0a983b140e
commit 6d185bd52f
4 changed files with 12 additions and 2 deletions

View File

@ -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