Add !about command
This commit is contained in:
parent
3b340a92c1
commit
a5f34d6e9a
5 changed files with 112 additions and 3 deletions
9
src/uptime.ts
Normal file
9
src/uptime.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
let start = 0;
|
||||
|
||||
export function startUptimeCounter() {
|
||||
start = Date.now();
|
||||
}
|
||||
|
||||
export function getCurrentUptime() {
|
||||
return Date.now() - start;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue