diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 9602737..fb5d82f 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,8 +4,7 @@
-
-
+
@@ -66,7 +65,7 @@
-
+
@@ -83,8 +82,19 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -110,7 +120,7 @@
-
+
1640148826800
@@ -168,7 +178,14 @@
1642560099716
-
+
+ 1642707545761
+
+
+
+ 1642707545761
+
+
@@ -196,6 +213,7 @@
-
+
+
\ No newline at end of file
diff --git a/commands/leveling/daily.js b/commands/leveling/daily.js
index 3b105d6..0f9c619 100644
--- a/commands/leveling/daily.js
+++ b/commands/leveling/daily.js
@@ -20,16 +20,16 @@ module.exports = {
async execute(message, msg, args, cmd, prefix, mention, client) {
let tm = await Monners.findOne({uid: message.author.id}) || new Monners({uid: message.author.id});
if (!client.misc.cache.monners[message.author.id]) {client.misc.cache.monners[message.author.id] = tm.currency;}
- if (tm.daily && tm.daily.last && ((new Date().getTime() - tm.daily.last) < (1000 * 60 * 60 * 24))) {
+ if (tm.daily && tm.daily.last && ((new Date().getTime() - tm.daily.last) < (1000 * 60 * 60 * 22))) {
return message.channel.send({embeds: [new Discord.MessageEmbed()
.setAuthor({iconURL: message.guild ? message.member.displayAvatarURL() : message.author.iconURL(), name: message.guild ? message.member.displayName : message.author.username})
- .setDescription(`Your daily is not available yet! You can claim your next daily in **${moment.preciseDiff(new Date().getTime(), tm.daily.last + (1000 * 60 * 60 * 24))}**`)
+ .setDescription(`Your daily is not available yet! You can claim your next daily in **${moment.preciseDiff(new Date().getTime(), tm.daily.last + (1000 * 60 * 60 * 22))}**`)
.setColor('c92a45')
]});
}
if (!tm.daily || !Object.keys(tm.daily).length) {tm.daily = {total: 0, last: new Date().getTime(), streak: 0};}
let streakIncrease = false;
- if (new Date().getTime() - tm.daily.last < (1000 * 60 * 60 * 36)) {
+ if (new Date().getTime() - tm.daily.last < (1000 * 60 * 60 * 47)) {
streakIncrease = true;
tm.daily.streak++
} else {tm.daily.streak = 1;}
diff --git a/package.json b/package.json
index e2361a5..f4d1992 100644
--- a/package.json
+++ b/package.json
@@ -32,8 +32,10 @@
},
"scripts": {
"start": "node bot.js",
+ "start:pretty": "node bot.js -g -s",
"swin": "run",
"dev": "node bot.js -dev",
+ "dev:pretty": "node bot.js -dev -g -s",
"presync": "git pull origin master",
"sync": "git push origin master",
"postsync": "git push wubzy master"