make default name random
This commit is contained in:
parent
3a32bea036
commit
f06255475d
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -16,7 +16,7 @@ async function main () {
|
|||
const viewDistance = 6
|
||||
const host = prompt('Host', '95.111.249.143')
|
||||
const port = parseInt(prompt('Port', '10000'))
|
||||
const username = prompt('Username', 'pviewer_person')
|
||||
const username = prompt('Username', 'pviewer_person ' + (Math.floor(Math.random() * 1000)))
|
||||
let password = prompt('Password (blank for offline)')
|
||||
password = password === '' ? undefined : password
|
||||
console.log(`connecting to ${host} ${port} with ${username}`)
|
||||
|
|
Loading…
Reference in a new issue