Skip to content

Commit

Permalink
Fix lastDaily for existing users
Browse files Browse the repository at this point in the history
  • Loading branch information
notunderctrl authored Feb 22, 2023
1 parent 464616e commit 7430273
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 14 - Daily Command/src/commands/economy/daily.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ module.exports = {
);
return;
}

user.lastDaily = new Date();
} else {
user = new User({
...query,
Expand Down

0 comments on commit 7430273

Please sign in to comment.