mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
16 lines
481 B
JavaScript
16 lines
481 B
JavaScript
/* 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));
|
|
|
|
module.exports = function () {
|
|
return username;
|
|
};
|