From 6b359c8c7f020123a2be584b5209b82d6dd964ef Mon Sep 17 00:00:00 2001 From: Darien Rousseau <45698803+not-pyroman@users.noreply.github.com> Date: Mon, 14 Aug 2023 19:48:02 -0600 Subject: [PATCH] revert coinflip cooldown and text --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index fc1a70e..00c240d 100644 --- a/index.js +++ b/index.js @@ -579,7 +579,7 @@ client.on("interactionCreate", async interaction => { }); } } - coinflipCooldowns[interaction.user.id] = Date.now() + (config.games.coinflip.cooldown * 6 * 1000); + coinflipCooldowns[interaction.user.id] = Date.now() + (config.games.coinflip.cooldown * 60 * 1000); bet = parseInt(interaction.options.get("amount").value); if (bet < 1 || bet > 10) return interaction.reply({ @@ -606,14 +606,14 @@ client.on("interactionCreate", async interaction => { if (coin == "heads") return interaction.reply({ embeds: [{ title: "Coinflip", - description: `You flipped ${config.games.coinflip.heads} and **${outcome ? "won" : "lost"}** ${Math.abs(bet)} coins! You Chose: ${side}.`, + description: `You flipped ${config.games.coinflip.heads} and **${outcome ? "won" : "lost"}** ${Math.abs(bet)} coins!`, color: outcome ? 0x00ff00 : 0xff0000 }] }); else if (coin == "tails") return interaction.reply({ embeds: [{ title: "Coinflip", - description: `You flipped ${config.games.coinflip.tails} and **${outcome ? "won" : "lost"}** ${Math.abs(bet)} coins! You Chose: ${side}.`, + description: `You flipped ${config.games.coinflip.tails} and **${outcome ? "won" : "lost"}** ${Math.abs(bet)} coins!`, color: outcome ? 0x00ff00 : 0xff0000 }] });