> Change the chances of word scramble

This commit is contained in:
Christopher Cookman 2023-08-18 18:30:41 -06:00
parent 9f591445fc
commit 49ac22a076
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -848,7 +848,7 @@ client.on('messageCreate', async message => {
return;
}
// 1 in 50 chance to start a word scramble
if (Math.floor(Math.random() * 10) == 0) {
if (Math.floor(Math.random() * 25) == 0) {
// Start a word scramble
setCooldown({id: 0}, "wordscramble", 5 * 60 * 1000)
gameData = wordScramble();