Cooldown: Use Discord countdown tags for cooldowns

Closes #37
This commit is contained in:
2023-03-13 16:22:07 +01:00
parent a096d288f6
commit 646ef11abd
2 changed files with 5 additions and 21 deletions

View File

@@ -19,13 +19,13 @@ module.exports = {
if (cooldowns.remainingDrops > 0) {
reply += `Drop: ${cooldowns.remainingDrops} remaining\n`;
} else {
reply += `Drop: Resets in ${cooldowns.nextDropResetFormatted}\n`;
reply += `Drop: Reset ${cooldowns.nextDropResetFormatted}\n`;
}
if (cooldowns.remainingClaims > 0) {
reply += `Claim: ${cooldowns.remainingClaims} remaining\n`;
} else {
reply += `Claim: Resets in ${cooldowns.nextClaimResetFormatted}\n`;
reply += `Claim: Reset ${cooldowns.nextClaimResetFormatted}\n`;
}
if (cooldowns.nextDaily > 0) {