More random greetings- (#4)
Some checks failed
Build / build (push) Has been cancelled

close with comment does not make any fucking sense.
This commit is contained in:
Auron 2025-08-02 16:02:17 -04:00 committed by GitHub
parent a6400969bd
commit f5b9d57e8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -287,7 +287,7 @@ export class VersionConstants {
export function GetRandomMessage() {
const greetings = Greetings; // Assuming Greetings is a promise
const key = Math.floor(Math.random() * greetings.length);
const key = crypto.getRandomValues(new Uint32Array(1))[0] % greetings.length; // "How random do you want it?" Yes.
const selected = greetings[key];
if (typeof selected.header !== "string") {