feat: improve furry and gay commands by sending the percentage #33

Merged
GiovaniFZ merged 1 commit from improve_fun into main 2025-02-15 19:58:35 +00:00
GiovaniFZ commented 2025-02-15 18:38:32 +00:00 (Migrated from github.com)
No description provided.
github-advanced-security[bot] (Migrated from github.com) reviewed 2025-02-15 18:39:21 +00:00
@ -8,1 +8,3 @@
const shouldSendGif = Math.random() < 0.5;
const randomNumber = Math.floor(Math.random() * 100);
const shouldSendGif = randomNumber > 50;
github-advanced-security[bot] (Migrated from github.com) commented 2025-02-15 18:39:21 +00:00

crypto.pseudoRandomBytes()/Math.random() is a cryptographically weak random number generator.

Show more details

crypto.pseudoRandomBytes()/Math.random() is a cryptographically weak random number generator. [Show more details](https://github.com/abocn/TelegramBot/security/code-scanning/14)
github-advanced-security[bot] (Migrated from github.com) commented 2025-02-15 18:39:21 +00:00

crypto.pseudoRandomBytes()/Math.random() is a cryptographically weak random number generator.

Show more details

crypto.pseudoRandomBytes()/Math.random() is a cryptographically weak random number generator. [Show more details](https://github.com/abocn/TelegramBot/security/code-scanning/15)
Sign in to join this conversation.
No description provided.