mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
eagle username geangenangnen
This commit is contained in:
parent
7581dde282
commit
1aefc00be5
1 changed files with 14 additions and 0 deletions
14
util/generateEaglerUsername.js
Normal file
14
util/generateEaglerUsername.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
/* eslint-disable max-len */
|
||||
names = ['Yeeish', 'Yeeish', 'Yee', 'Yee', 'Yeer', 'Yeeler', 'Eagler', 'Eagl',
|
||||
'Darver', 'Darvler', 'Vool', 'Vigg', 'Vigg', 'Deev', 'Yigg', 'Yeeg'];
|
||||
|
||||
function getRandomItem(arr) {
|
||||
const randomIndex = Math.floor(Math.random() * arr.length);
|
||||
const item = arr[randomIndex];
|
||||
|
||||
return item;
|
||||
}
|
||||
|
||||
const username = getRandomItem(names) + getRandomItem(names) + (10 + Math.floor(Math.random() * 90));
|
||||
|
||||
console.log(username);
|
Loading…
Reference in a new issue