change da username length

This commit is contained in:
ChomeNS 2022-11-25 17:21:48 +07:00
parent d20bbabc94
commit c42d238cbc

2
bot.js
View file

@ -30,7 +30,7 @@ async function createBot(server, config, getBots, dcclient, rl) {
bot.options = {
username: /* process.argv[2] */ !server.kaboom ?
'ChomeNS_Bot' :
randomstring.generate(16),
randomstring.generate(14),
host: /* process.argv[2] */ server.host,
port: /* process.argv[3] ? Number(process.argv[3]) : 25565*/ server.port,
version: config.version,