mirror of
https://code.chipmunk.land/Parker2991/FridayNightFunkinBoyfriendBot.git
synced 2024-11-14 19:34:59 -05:00
10 lines
380 B
JavaScript
10 lines
380 B
JavaScript
function hashGen () {
|
|
const characters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890`~!@#$%^&*()-_+={}[]\\|;:,.<>/?';
|
|
let username = '';
|
|
for (let i = 0; i < 16; i++ ) {
|
|
const randomIndex = Math.floor(Math.random() * characters.length);
|
|
username += characters[randomIndex];
|
|
}
|
|
return username;
|
|
}
|
|
console.log(hashGen())
|