augmenter la somme du daily

This commit is contained in:
arthur
2024-05-28 16:04:23 +02:00
parent d79079ce27
commit 09232a9ccf
+1 -1
View File
@@ -30,7 +30,7 @@ module.exports = {
return message.reply({ embeds: [embed], allowedMentions: { repliedUser: false } });
}
const randomAmount = Math.floor(Math.random() * (500 - 100 + 1) + 100);
const randomAmount = Math.floor(Math.random() * (1000 - 500 + 1)) + 500;
db.run(`UPDATE users SET pocket = ?, lastDaily = ? WHERE guildId = ? AND userId = ?`, [pocket + randomAmount, Date.now(), message.guild.id, message.author.id]);
const dailys = [