made .eco daily's cooldown message use the new timestamps

This commit is contained in:
EL2020 2021-07-03 18:53:30 -04:00
parent 2cb94cc6ac
commit 3844a4929d
1 changed files with 3 additions and 4 deletions

View File

@ -32,10 +32,9 @@ export const DailyCommand = new NamedCommand({
send({
embed: {
title: "Daily Reward",
description: `It's too soon to pick up your daily Mons. You have about ${(
(user.lastReceived + 79200000 - now) /
3600000
).toFixed(1)} hours to go.`,
description: `It's too soon to pick up your daily Mons. Try again at <t:${Math.floor(
(user.lastReceived + 79200000 - now) / 1000
)}:t>.`,
color: ECO_EMBED_COLOR
}
});