3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-18 07:35:02 +00:00

Add !about command

This commit is contained in:
Dragory 2019-04-23 05:58:50 +03:00
parent 66e1cdee4b
commit badb645703
5 changed files with 112 additions and 3 deletions

9
src/uptime.ts Normal file
View file

@ -0,0 +1,9 @@
let start = 0;
export function startUptimeCounter() {
start = Date.now();
}
export function getCurrentUptime() {
return Date.now() - start;
}