diff options
author | Ninjune <enderknight537@gmail.com> | 2022-11-18 16:05:16 -0600 |
---|---|---|
committer | Ninjune <enderknight537@gmail.com> | 2022-11-18 16:05:16 -0600 |
commit | 5e76b8b00ac668768f5295ac4b2cb7c79c71ee36 (patch) | |
tree | 08a2e7a4e7c46d35bfcafc8a27f29716a639889a /commands/time.js | |
parent | 03e93ce21ad426d0e3d47301fa004a41053ce23f (diff) | |
download | coleweight-5e76b8b00ac668768f5295ac4b2cb7c79c71ee36.tar.gz coleweight-5e76b8b00ac668768f5295ac4b2cb7c79c71ee36.tar.bz2 coleweight-5e76b8b00ac668768f5295ac4b2cb7c79c71ee36.zip |
v1.6.2 Bug fixes
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`) |