botv12/util/usergen.js

5 lines
233 B
JavaScript
Raw Normal View History

import { randomBytes } from "crypto";
const generateUser = function (legal) {
2024-10-20 14:51:31 -04:00
return `${parseInt(randomBytes(4).toString("hex"),16).toString(36)}${parseInt(randomBytes(4).toString("hex"),16).toString(36)}`
}
export { generateUser }