> Change word scramble to 1 in 10 (so its actually possible
This commit is contained in:
parent
3636d6a832
commit
f4a7f0eaab
4
index.js
4
index.js
|
@ -803,8 +803,8 @@ client.on('messageCreate', async message => {
|
||||||
if (curCooldown) {
|
if (curCooldown) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 1 in 100 chance to start a word scramble
|
// 1 in 50 chance to start a word scramble
|
||||||
if (Math.random() < 0.01) {
|
if (Math.floor(Math.random() * 10) == 0) {
|
||||||
// Start a word scramble
|
// Start a word scramble
|
||||||
setCooldown({id: 0}, "wordscramble", 5 * 60 * 1000)
|
setCooldown({id: 0}, "wordscramble", 5 * 60 * 1000)
|
||||||
gameData = wordScramble();
|
gameData = wordScramble();
|
||||||
|
|
Loading…
Reference in a new issue