remove :3, uwu, etc

This commit is contained in:
Your Name 2025-02-09 21:14:40 -05:00
parent bc9a983147
commit 506c91554f
No known key found for this signature in database
2 changed files with 4 additions and 11 deletions

View file

@ -9,11 +9,11 @@ import { userInfo } from 'node:os'
const consoleBotStub = {
host: {
host: 'bot console ',
port: 3
port: 25565
},
tellraw: (_unused, data) => console.log(parse2(data))
}
const uuid = '4d616465-6c69-6e65-2075-7775203a3300'
const uuid = '01234567-89ab-cdef-0123-456789abcdef'
const user = userInfo().username // OS user the bot is running as
const nick = user

View file

@ -28,19 +28,12 @@ const rsg = function (count) {
return output
}
const rsgLegal = function (count) {
let output = ''
if (Math.random() > 0.5) {
output += 'uwu_'
} else {
output += 'owo_'
}
output += randomBytes(count).toString('hex')
return output
return randomBytes(count).toString('hex')
}
export default function generateUser (legal) {
if (legal) {
return rsgLegal(6)
return rsgLegal(8)
} else {
return rsg(6 + Math.floor(Math.random() * 3))
}