Skip to content

Commit

Permalink
Update random.js
Browse files Browse the repository at this point in the history
  • Loading branch information
TodePond authored Feb 25, 2025
1 parent c11c42d commit 7b43880
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/random.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ const TAGS = [
const MANTRAS = [
"let code die",
"you don't need it",
"pastagang made it, not you"
"pastagang made it, not you",
"quality NO. energy YES.",
];

export function getRandomName(tagCount = 2) {
Expand All @@ -58,6 +59,8 @@ export function getRandomName(tagCount = 2) {
return name;
}

// todo: make this show everyone the same mantra
// see: github.com/pastagang/dotcool
export function getRandomMantra() {
const randomIndex = Math.floor(Math.random() * MANTRAS.length);
const randomMantra = MANTRAS[randomIndex];
Expand Down

0 comments on commit 7b43880

Please sign in to comment.