temporarily reduce cooldown
This commit is contained in:
parent
c7ec8c6a25
commit
ff69f2b1fd
2
index.js
2
index.js
|
@ -579,7 +579,7 @@ client.on("interactionCreate", async interaction => {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
coinflipCooldowns[interaction.user.id] = Date.now() + (config.games.coinflip.cooldown * 60 * 1000);
|
coinflipCooldowns[interaction.user.id] = Date.now() + (config.games.coinflip.cooldown * 6 * 1000);
|
||||||
|
|
||||||
bet = parseInt(interaction.options.get("amount").value);
|
bet = parseInt(interaction.options.get("amount").value);
|
||||||
if (bet < 1 || bet > 10) return interaction.reply({
|
if (bet < 1 || bet > 10) return interaction.reply({
|
||||||
|
|
Loading…
Reference in a new issue