diff options
| author | Ninjune x <enderknight537@gmail.com> | 2022-11-18 18:00:58 -0600 |
|---|---|---|
| committer | Ninjune x <enderknight537@gmail.com> | 2022-11-18 18:00:58 -0600 |
| commit | 00f4ecbc69216d4aee44bcdac92955c4eb774298 (patch) | |
| tree | d012f89ffbd81dc6a9d631589764088ae2561aeb /commands/time.js | |
| parent | 03e93ce21ad426d0e3d47301fa004a41053ce23f (diff) | |
| download | coleweight-1.6.4.tar.gz coleweight-1.6.4.tar.bz2 coleweight-1.6.4.zip | |
Diffstat (limited to 'commands/time.js')
| -rw-r--r-- | commands/time.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/time.js b/commands/time.js index 115964e..08aaada 100644 --- a/commands/time.js +++ b/commands/time.js @@ -1,10 +1,10 @@ import constants from "../util/constants" const PREFIX = constants.PREFIX - +let timerHr export function time() { - let timerHr = Math.floor(constants.timerdata.timer/60/60) + timerHr = Math.floor(constants.timerdata.timer/60/60) if(timerHr >= 1) ChatLib.chat(`${PREFIX}&aTimer (${constants.serverData.server}): &b${timerHr}h ${Math.floor(constants.timerdata.timer/60) - timerHr*60}m`) |
