Skip to content

Commit

Permalink
Update coinflip.js
Browse files Browse the repository at this point in the history
  • Loading branch information
aayushagrawall authored May 31, 2024
1 parent 7ae872f commit 31495fc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/commands/economy/coinflip.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default {
.toJSON(),
userPermissions: [],
botPermissions: [],
cooldown: 600,
cooldown: 21600,
nsfwMode: false,
testMode: false,
devOnly: false,
Expand All @@ -43,11 +43,6 @@ export default {
const embed = new EmbedBuilder().setDescription('The bet amount cannot be negative.');
return interaction.reply({ embeds: [embed], ephemeral: true });
}
if (gambleAmount > 15) {
const rembed = new EmbedBuilder().setDescription('The maximum bet amount is 25 coins.');
return interaction.reply({ embeds: [rembed], ephemeral: true });
}


// Fetch the user's balance from the database
let userBalance = await Balance.findOne({ userId });
Expand Down

0 comments on commit 31495fc

Please sign in to comment.