mirror of
https://github.com/arthur-pbty/bot-discord-coins.git
synced 2026-06-18 05:39:47 +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 } });
|
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]);
|
db.run(`UPDATE users SET pocket = ?, lastDaily = ? WHERE guildId = ? AND userId = ?`, [pocket + randomAmount, Date.now(), message.guild.id, message.author.id]);
|
||||||
|
|
||||||
const dailys = [
|
const dailys = [
|
||||||
|
|||||||
Reference in New Issue
Block a user