mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 13:51:51 +00:00
10 lines
148 B
TypeScript
10 lines
148 B
TypeScript
![]() |
let start = 0;
|
||
|
|
||
|
export function startUptimeCounter() {
|
||
|
start = Date.now();
|
||
|
}
|
||
|
|
||
|
export function getCurrentUptime() {
|
||
|
return Date.now() - start;
|
||
|
}
|