Compare commits

..

3 commits

Author SHA1 Message Date
WatDuhHekBro
e86abbef3e
Merge pull request #43 from EL20202/master
Make .eco daily's cooldown use the new Discord timestamps
2021-07-03 18:25:46 -05:00
EL2020
2c946c8558 fixed minor oversight with timestamp 2021-07-03 18:56:53 -04:00
EL2020
3844a4929d made .eco daily's cooldown message use the new timestamps 2021-07-03 18:53:30 -04:00

View file

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