Add !about command

This commit is contained in:
Dragory 2019-04-23 05:58:50 +03:00
parent 3b340a92c1
commit a5f34d6e9a
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;
}