mirror of
https://github.com/arthur-pbty/bot-discord-coins.git
synced 2026-06-03 23:36:29 +02:00
augmenter la somme du daily
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user