mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-27 09:35:35 -05:00
generate eagler username profanity
This commit is contained in:
parent
55c4e03be1
commit
81fe6317fb
1 changed files with 14 additions and 3 deletions
|
@ -1,5 +1,11 @@
|
|||
/* eslint-disable max-len */
|
||||
names = ['Yeeish', 'Yeeish', 'Yee', 'Yee', 'Yeer', 'Yeeler', 'Eagler', 'Eagl',
|
||||
const profanityNames = ['Eagler', 'Eagler', 'Bitch', 'Cock', 'Milf', 'Milf', 'Yeer', 'Groon',
|
||||
'Eag', 'Deevis', 'Chode', 'Deev', 'Deev', 'Fucker', 'Fucking',
|
||||
'Dumpster', 'Dumpster', 'Cum', 'Chad', 'Egg', 'Fudgler', 'Fudgli',
|
||||
'Yee', 'Yee', 'Yee', 'Yeet', 'Flumpter', 'Darvy', 'Darver', 'Darver',
|
||||
'Fuck', 'Fuck', 'Frick', 'Eagler', 'Vigg', 'Vigg', 'Cunt', 'Darvig',
|
||||
];
|
||||
const names = ['Yeeish', 'Yeeish', 'Yee', 'Yee', 'Yeer', 'Yeeler', 'Eagler', 'Eagl',
|
||||
'Darver', 'Darvler', 'Vool', 'Vigg', 'Vigg', 'Deev', 'Yigg', 'Yeeg'];
|
||||
|
||||
function getRandomItem(arr) {
|
||||
|
@ -9,8 +15,13 @@ function getRandomItem(arr) {
|
|||
return item;
|
||||
}
|
||||
|
||||
function genUsername() {
|
||||
const username = getRandomItem(names) + getRandomItem(names) + (10 + Math.floor(Math.random() * 90));
|
||||
function genUsername(profanity) {
|
||||
let username;
|
||||
if (profanity) {
|
||||
username = getRandomItem(profanityNames) + getRandomItem(profanityNames) + (10 + Math.floor(Math.random() * 90));
|
||||
} else {
|
||||
username = getRandomItem(names) + getRandomItem(names) + (10 + Math.floor(Math.random() * 90));
|
||||
}
|
||||
|
||||
return username;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue